diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-05-31 14:40:34 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-05-31 14:40:34 +0530 |
| commit | ff6213176f9c4d42ebad0fe96e99e5bbc14fa83e (patch) | |
| tree | a76687d9c1c73e4f4b77828bfd1782a68fda464a /configuration.nix | |
| parent | 4242a01983eb57ac44d5fcfbda75339d486ea4f1 (diff) | |
| download | nixos-config-ff6213176f9c4d42ebad0fe96e99e5bbc14fa83e.tar.gz nixos-config-ff6213176f9c4d42ebad0fe96e99e5bbc14fa83e.zip | |
Sound module
Diffstat (limited to 'configuration.nix')
| -rw-r--r-- | configuration.nix | 32 |
1 files changed, 8 insertions, 24 deletions
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; |
