summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-08-05 23:15:47 +0530
committersinanmohd <sinan@firemail.cc>2023-08-06 11:33:33 +0530
commit24af5ed9642408570922830dd0184f591b588c9b (patch)
tree4cf5f97a0f81db329165e9ca2dd35d713e8cf1ab
parente46c03e0e33578dc4db9d1cfcd81b968e4d038cf (diff)
configuration: move sound configuration to /hardware
-rw-r--r--configuration.nix7
-rw-r--r--hardware/cez.nix12
2 files changed, 9 insertions, 10 deletions
diff --git a/configuration.nix b/configuration.nix
index 98a56e6..50668d6 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -21,13 +21,6 @@ in
# networking
time.timeZone = "Asia/Kolkata";
- # sound
- sound.enable = true;
- services.pipewire = {
- enable = true;
- pulse.enable = true;
- };
-
# users
users.users.${user} = {
isNormalUser = true;
diff --git a/hardware/cez.nix b/hardware/cez.nix
index ec74dc2..b3f0744 100644
--- a/hardware/cez.nix
+++ b/hardware/cez.nix
@@ -7,13 +7,19 @@
../features/development.nix
];
+ boot = {
+ initrd.luks.reusePassphrases = true;
+ consoleLogLevel = 3;
+ };
+
networking = {
hostName = "cez";
wireless.iwd.enable = true;
};
- boot = {
- initrd.luks.reusePassphrases = true;
- consoleLogLevel = 3;
+ sound.enable = true;
+ services.pipewire = {
+ enable = true;
+ pulse.enable = true;
};
}