{ config, pkgs, lib, ... }: { imports = [ # ./hardware-configuration.nix ../../modules/packages/vim.nix ../../modules/environments/home.nix # ../../modules/packages/overlays/haskell/basement/IntWord64.nix ]; boot = { kernelPackages = pkgs.linuxPackages_latest; loader = { grub = { enable = true; device = "/dev/sda"; # nodev for EFI only # EFI efiSupport = false; efiInstallAsRemovable = false; }; }; #readOnlyNixStore = false; }; networking = { hostName = "RoryNix"; networkmanager.enable = true; wireless.enable = false; firewall = { enable = false; # allowedTCPPorts = [ ... ]; # allowedUDPPorts = [ ... ]; }; }; time.timeZone = "Europe/Brussels"; services = { xserver = { enable = true; videoDrivers = [ "intel" ]; desktopManager.gnome.enable = true; xkb.layout = "us"; modules = [ pkgs.xorg.xf86videointel ]; }; #libinput.enable = true; gnome = { core-developer-tools.enable = false; core-utilities.enable = false; tracker-miners.enable = false; tracker.enable = false; sushi.enable = false; rygel.enable = false; gnome-user-share.enable = false; gnome-remote-desktop.enable = false; gnome-online-miners.enable = lib.mkForce false; gnome-online-accounts.enable = false; gnome-initial-setup.enable = false; gnome-browser-connector.enable = false; games.enable = false; evolution-data-server.enable = lib.mkForce false; at-spi2-core.enable = lib.mkForce false; }; printing.enable = false; openssh = { enable = true; extraConfig = '' MaxAuthTries 32 ''; }; pipewire = { enable = true; audio.enable = true; pulse.enable = true; wireplumber.enable = true; jack.enable = true; alsa.enable = true; }; }; sound.enable = true; hardware.pulseaudio.enable = false; users.users = { Rory = { isNormalUser = true; extraGroups = [ "wheel" ]; packages = with pkgs; [ #gimp-with-plugins #xterm gnomeExtensions.vitals gnomeExtensions.runcat ]; initialPassword = "password"; }; }; environment.systemPackages = with pkgs; [ wget neofetch lnav pciutils git lsd duf htop btop udisks gparted kitty.terminfo glxinfo jq yq pv dig cloud-utils sshfs #nemo firefox-bin #epiphany gnome-console feh # Various extensions... # - Gnome #gnomeExtensions.vitals #gnomeExtensions.runcat # - Dont work on gnome 43: #gnomeExtensions.undecorate #gnomeExtensions.inactivity #gnomeExtensions.left-clock # - Vim vimPlugins.vim-nix # - zsh zsh zsh-powerlevel10k zsh-nix-shell zsh-you-should-use zsh-syntax-highlighting zsh-completions ]; fonts.packages = with pkgs; [ (nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) ]; nix = { settings = { experimental-features = [ "nix-command" "flakes" ]; }; }; nixpkgs = { config.allowUnfree = true; }; security = { polkit.enable = true; sudo.wheelNeedsPassword = false; }; system.stateVersion = "22.11"; # DO NOT EDIT! }