created disko config for defiant

This commit is contained in:
Leyla Becker 2024-09-17 09:57:13 -05:00
parent 1ddce31f00
commit f7248ab781
2 changed files with 40 additions and 10 deletions

View file

@ -32,7 +32,10 @@
boot.supportedFilesystems = [ "zfs" ];
networking.hostId = "c8985fc5"; # TODO: populate this when I get home
boot.zfs.extraPools = [ "zpool" ];
# this might need to match the hostId of the installation medium? `head -c 8 /etc/machine-id` NOPE
networking.hostId = "c51763d6";
networking.hostName = "defiant"; # Define your hostname.
nixpkgs.config.allowUnfree = true;
@ -46,6 +49,9 @@
services.xserver.desktopManager.gnome.enable = true;
services.xserver.desktopManager.xterm.enable = false;
# Get rid of xTerm
services.xserver.excludePackages = [ pkgs.xterm ];
# disable computer sleeping
systemd.targets.sleep.enable = false;
systemd.targets.suspend.enable = false;