From 8943bfc34d114078a7761fa169d8ea752e68b9f2 Mon Sep 17 00:00:00 2001 From: joy Date: Sat, 31 Aug 2024 17:52:32 +0200 Subject: [PATCH] misc --- modules/services/default.nix | 1 + modules/services/misc/default.nix | 6 ++++++ modules/system/default.nix | 14 ++------------ modules/system/misc/default.nix | 5 +++++ 4 files changed, 14 insertions(+), 12 deletions(-) create mode 100644 modules/services/misc/default.nix create mode 100644 modules/system/misc/default.nix diff --git a/modules/services/default.nix b/modules/services/default.nix index dbb6ad5..f1f8eb7 100644 --- a/modules/services/default.nix +++ b/modules/services/default.nix @@ -5,5 +5,6 @@ ./polkit ./syncthing ./virt + ./misc ]; } diff --git a/modules/services/misc/default.nix b/modules/services/misc/default.nix new file mode 100644 index 0000000..520e1fd --- /dev/null +++ b/modules/services/misc/default.nix @@ -0,0 +1,6 @@ +{...}: { + services.devmon.enable = true; + services.udisks2.enable = true; + services.printing.enable = true; + services.gvfs.enable = true; +} diff --git a/modules/system/default.nix b/modules/system/default.nix index 8ddac8b..d5ea2c4 100644 --- a/modules/system/default.nix +++ b/modules/system/default.nix @@ -1,17 +1,7 @@ {...}: { - - nix.settings.experimental-features = ["nix-command" "flakes"]; - time.timeZone = "Europe/Zurich"; - system.stateVersion = "23.11"; - - services.devmon.enable = true; - services.udisks2.enable = true; - services.printing.enable = true; - services.gvfs.enable = true; - - imports = [ + imports = [ ./user ./homemanger + ./misc ]; - } diff --git a/modules/system/misc/default.nix b/modules/system/misc/default.nix new file mode 100644 index 0000000..148264a --- /dev/null +++ b/modules/system/misc/default.nix @@ -0,0 +1,5 @@ +{...}: { + nix.settings.experimental-features = ["nix-command" "flakes"]; + time.timeZone = "Europe/Zurich"; + system.stateVersion = "23.11"; +}