diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-06-19 00:29:22 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-06-19 00:29:34 +0200 |
commit | 5286fc54bd18682042758fd119dfe0cac390cca2 (patch) | |
tree | 94ccb17b1d79f773e969676f32e63d8d5b3dca93 /hosts | |
parent | wireguard: Add new 'server' host (diff) | |
download | nixos-config-5286fc54bd18682042758fd119dfe0cac390cca2.tar.gz nixos-config-5286fc54bd18682042758fd119dfe0cac390cca2.tar.bz2 nixos-config-5286fc54bd18682042758fd119dfe0cac390cca2.zip |
Update
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/configuration.nix | 8 | ||||
-rw-r--r-- | hosts/default.nix | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/hosts/configuration.nix b/hosts/configuration.nix index 51846b3..f71f497 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -83,7 +83,6 @@ XKB_DEFAULT_LAYOUT = "us"; NIXPKGS_ALLOW_UNFREE = "1"; - NIX_INDEX_DATABASE = "/etc/nix-index/"; }; environment.sessionVariables = rec { @@ -125,7 +124,6 @@ usbutils pciutils gnupg - comma xclip strace fzf @@ -135,8 +133,6 @@ environment.defaultPackages = [ ]; - environment.etc."nix-index/files".source = inputs.nix-index.legacyPackages.${system}.database; - xdg.portal = { enable = true; wlr.enable = true; @@ -186,6 +182,10 @@ dconf.enable = true; + command-not-found.enable = false; + nix-index.enable = true; + nix-index-database.comma.enable = true; + firejail = { enable = true; wrappedBinaries = { diff --git a/hosts/default.nix b/hosts/default.nix index 928abdf..06d5e29 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -42,6 +42,7 @@ let ]; }; } + inputs.nix-index.nixosModules.nix-index ] ++ extraSpecialModules; } else if isMacOS |