From 24af5ed9642408570922830dd0184f591b588c9b Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 5 Aug 2023 23:15:47 +0530 Subject: configuration: move sound configuration to /hardware --- configuration.nix | 7 ------- 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; }; } -- cgit v1.2.3