This commit is contained in:
2021-10-23 17:53:31 +01:00
parent 30148a6529
commit 7ebec48d40
17 changed files with 171 additions and 596 deletions

View File

@@ -11,11 +11,20 @@
];
# Use the systemd-boot EFI boot loader.
boot.kernelPackages = pkgs.linuxKernel.packages.linux_5_14;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
nixpkgs.config.allowUnfree = true;
# nix flakes compatibility
nix = {
package = pkgs.nixUnstable;
extraOptions = ''
experimental-features = nix-command flakes
'';
};
networking.hostName = "dingbox"; # Define your hostname.
networking.networkmanager.enable = true;
programs.nm-applet.enable = true;
@@ -47,6 +56,7 @@
enable = true;
layout = "gb";
dpi = 144;
videoDrivers = [ "nvidia" ];
screenSection = ''
Option "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On}"
@@ -62,6 +72,10 @@
};
};
displayManager = {
gdm.enable = true;
};
windowManager.i3.enable = true;
};