diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-06-21 22:53:05 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-06-21 22:53:05 -0500 |
| commit | 6d109a9f958a00a4f3fc537d213067e5777ab120 (patch) | |
| tree | 86771ee71eb9b7466877f61b60cb9b78c0e16627 /archetypes | |
| parent | 560f5a04cecb2903bba56e154882b0b220a2f578 (diff) | |
| download | nixos-6d109a9f958a00a4f3fc537d213067e5777ab120.tar.xz nixos-6d109a9f958a00a4f3fc537d213067e5777ab120.zip | |
Diffstat (limited to 'archetypes')
| -rw-r--r-- | archetypes/profiles/default.nix | 13 | ||||
| -rw-r--r-- | archetypes/profiles/gnome/default.nix | 13 | ||||
| -rw-r--r-- | archetypes/profiles/zfs/default.nix | 2 |
3 files changed, 22 insertions, 6 deletions
diff --git a/archetypes/profiles/default.nix b/archetypes/profiles/default.nix index ef5d87b..1664484 100644 --- a/archetypes/profiles/default.nix +++ b/archetypes/profiles/default.nix @@ -1,10 +1,11 @@ { imports = [ - ./btrfs - ./cuda - ./desktop - ./headless - ./pi - ./zfs + ./gnome # 700 + ./cuda # 800 + ./zfs # 810 + ./btrfs # 820 + ./pi # 900 + ./headless # 910 + ./desktop # 920 ]; } diff --git a/archetypes/profiles/gnome/default.nix b/archetypes/profiles/gnome/default.nix new file mode 100644 index 0000000..6b7184b --- /dev/null +++ b/archetypes/profiles/gnome/default.nix @@ -0,0 +1,13 @@ +{ lib, pkgs, ... }: let + mkGnome = lib.mkOverride 700; + + nixosConfig = { + services.displayManager.gdm.enable = mkGnome true; + services.desktopManager.gnome.enable = mkGnome true; + services.tlp.enable = mkGnome false; # Conflicts with power-profiles-daemon + }; + + homeConfig = {}; +in { + imports = [ (lib._mkProfileArchetype "gnome" nixosConfig homeConfig) ]; +} diff --git a/archetypes/profiles/zfs/default.nix b/archetypes/profiles/zfs/default.nix index 4841231..00f3c0b 100644 --- a/archetypes/profiles/zfs/default.nix +++ b/archetypes/profiles/zfs/default.nix @@ -8,6 +8,8 @@ mode = mkZfs "efi"; }; + boot.supportedFilesystems = [ "zfs" ]; + services.zfs = { trim.enable = mkZfs true; autoSnapshot.enable = mkZfs true; |
