{ config, pkgs, ... }: { imports = [ # ./hardware-configuration.nix ../../modules/packages/vim.nix ]; boot = { kernelPackages = pkgs.linuxPackages_latest; loader = { grub = { enable = true; version = 2; 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"; i18n.defaultLocale = "en_US.UTF-8"; services = { xserver = { enable = true; videoDrivers = [ "intel" ]; desktopManager.gnome.enable = true; libinput.enable = true; layout = "us"; modules = [ pkgs.xorg.xf86videointel ]; }; gnome = { core-developer-tools.enable = false; core-utilities.enable = false; tracker-miners.enable = false; tracker.enable = false; }; printing.enable = false; openssh = { enable = true; extraConfig = '' MaxAuthTries 32 ''; #X11Forwarding = true; }; }; security.sudo.wheelNeedsPassword = false; nixpkgs.config.allowUnfree = true; nix.settings.experimental-features = [ "nix-command" "flakes" ]; sound.enable = true; hardware.pulseaudio.enable = true; 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 zsh gnome-console feh git #lsd steam #nerdfonts #element-web sshfs cinnamon.nemo firefox-bin #chromiumDev htop udisks gparted kitty.terminfo glxinfo #epiphany # Various extensions... # - Gnome #gnomeExtensions.vitals #gnomeExtensions.runcat # - Dont work on gnome 43: #gnomeExtensions.undecorate #gnomeExtensions.inactivity #gnomeExtensions.left-clock # - Vim vimPlugins.vim-nix ]; fonts.fonts = with pkgs; [ (nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) ]; nixpkgs.overlays = [ (self: super: { python3 = super.python3.override { packageOverrides = python-self: python-super: { markdown-it-py = python-super.markdown-it-py.overrideAttrs (oldAttrs: { doInstallCheck = false; }); }; }; haskellPackages = super.haskellPackages.override { overrides = haskellPackages-self: haskellPackages-super: { basement = haskellPackages-super.basement.overrideAttrs (oldAttrs: { patches = [ ./patches/haskell/basement/IntWord64.patch ]; }); }; }; } ) ]; security.polkit.enable = true; nix = { distributedBuilds = true; buildMachines = [ #"self" = { # #}; { systems = [ "x86_64-linux" "i686-linux" ]; hostName = "192.168.0.3"; sshUser = "Rory"; sshKey = "/home/Rory/.ssh/id_ed25519"; maxJobs = 12; } ]; registry.nixpkgs.flake = pkgs; nixPath = "nixpkgs=flake:nixpkgs"; }; system.stateVersion = "22.11"; # DO NOT EDIT! }