From ff6213176f9c4d42ebad0fe96e99e5bbc14fa83e Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 31 May 2025 14:40:34 +0530 Subject: Sound module --- configuration.nix | 32 ++++++++------------------------ 1 file changed, 8 insertions(+), 24 deletions(-) (limited to 'configuration.nix') diff --git a/configuration.nix b/configuration.nix index 7c14db0..561266a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -18,6 +18,7 @@ ./modules/thunderbird/default.nix ./modules/clamav.nix ./modules/lockscreen.nix + ./modules/sound/default.nix ]; nixpkgs.config = { @@ -45,16 +46,6 @@ programs.kdeconnect.enable = true; - # Enable sound. - security.rtkit.enable = true; - services.pipewire = { - enable = true; - alsa.enable = true; - pulse.enable = true; - jack.enable = true; - wireplumber.enable = true; - }; - # Network networking = { hostName = "smartfridge"; @@ -108,25 +99,11 @@ }; }; - # programs.tmux = { - # enable = true; - # secureSocket = true; - # terminal = "tmux-direct"; # st-256color - # shortcut = "0"; - # }; - # I18n and keyboard layout time.timeZone = "Asia/Kolkata"; i18n.defaultLocale = "en_GB.UTF-8"; services.xserver.xkb.layout = "us"; - home-manager.useGlobalPkgs = true; - # Home manager - home-manager.users.imsohexy = { pkgs, ... }: { - imports = [ ./home.nix ]; - home = { stateVersion = "21.03"; }; - }; - # X11 config services.xserver = { enable = true; @@ -161,6 +138,13 @@ suspendKey = "ignore"; }; + # Home manager + home-manager.useGlobalPkgs = true; + home-manager.users.imsohexy = { pkgs, ... }: { + imports = [ ./home.nix ]; + home = { stateVersion = "21.03"; }; + }; + nix.settings = { experimental-features = [ "nix-command" "flakes" ]; auto-optimise-store = true; -- cgit v1.3.1