diff options
| author | Miran Bastaja <miran.bastaja04@gmail.com> | 2023-12-06 13:47:10 +0100 |
|---|---|---|
| committer | Miran Bastaja <miran.bastaja04@gmail.com> | 2023-12-06 13:51:11 +0100 |
| commit | 1cceb9916f365b8a4ed157481c8542f6dad83025 (patch) | |
| tree | 40e77f9e1918899dba62a372d8a43e35f564e29f | |
| parent | a54dc4b767d675e171fcc0d20298295748e0ab18 (diff) | |
Create client-common module
Create a module that contains common configuration shared across all my
client (i.e. not server) machines.
| -rw-r--r-- | hosts/underworld/default.nix | 3 | ||||
| -rw-r--r-- | hosts/wonderland/default.nix | 3 | ||||
| -rw-r--r-- | share/system/client-common.nix | 9 |
3 files changed, 11 insertions, 4 deletions
diff --git a/hosts/underworld/default.nix b/hosts/underworld/default.nix index d900560..f303675 100644 --- a/hosts/underworld/default.nix +++ b/hosts/underworld/default.nix @@ -5,8 +5,7 @@ ./disko.nix ./home.nix - (flakeRoot + /share/system/steam.nix) - (flakeRoot + /share/system/hyprland.nix) + (flakeRoot + /share/system/client-common.nix) #(flakeRoot + /share/system/spotifyd.nix) { _module.args = { inherit inputs; }; } ]; diff --git a/hosts/wonderland/default.nix b/hosts/wonderland/default.nix index 03e91a3..e6487eb 100644 --- a/hosts/wonderland/default.nix +++ b/hosts/wonderland/default.nix @@ -4,10 +4,9 @@ ./hardware.nix ./home.nix ./sops.nix - (flakeRoot + /share/system/steam.nix) - (flakeRoot + /share/system/hyprland.nix) (import (flakeRoot + /share/system/virt.nix) { inherit pkgs; virt-users = [ "alice" ]; }) + (flakeRoot + /share/system/client-common.nix) #(flakeRoot + /share/system/spotifyd.nix) { _module.args = { inherit inputs; }; } ]; diff --git a/share/system/client-common.nix b/share/system/client-common.nix new file mode 100644 index 0000000..c6ae988 --- /dev/null +++ b/share/system/client-common.nix @@ -0,0 +1,9 @@ +# Common configuration options for client machines (i.e. not servers) +{ ... }: +{ + boot.supportedFilesystems = [ "ntfs" "bcachefs" ]; + imports = [ + ./hyprland.nix + ./steam.nix + ]; +} |
