diff options
author | sinanmohd <sinan@sinanmohd.com> | 2023-08-05 23:15:47 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2023-08-06 11:33:33 +0530 |
commit | 14b1586beac963db31f5d50f2fbfef1bfe975b37 (patch) | |
tree | 4cf5f97a0f81db329165e9ca2dd35d713e8cf1ab | |
parent | e572b40fc484a7daaeeb5cdde30f45b6be16aaeb (diff) |
configuration: move sound configuration to /hardware
-rw-r--r-- | configuration.nix | 7 | ||||
-rw-r--r-- | hardware/cez.nix | 12 |
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; }; } |