summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-08-05 23:15:47 +0530
committersinanmohd <sinan@sinanmohd.com>2023-08-06 11:33:33 +0530
commit14b1586beac963db31f5d50f2fbfef1bfe975b37 (patch)
tree4cf5f97a0f81db329165e9ca2dd35d713e8cf1ab
parente572b40fc484a7daaeeb5cdde30f45b6be16aaeb (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;
};
}