From bece09c134e6732d40c465a76cf572672c453604 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sun, 3 Mar 2024 16:52:43 +0800 Subject: [PATCH] hosts/ni: update base config --- configs/nixos/ni/default.nix | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/configs/nixos/ni/default.nix b/configs/nixos/ni/default.nix index 869364a4..e4ecbc1c 100644 --- a/configs/nixos/ni/default.nix +++ b/configs/nixos/ni/default.nix @@ -1,4 +1,4 @@ -{ config, pkgs, lib, foodogsquaredLib, foodogsquaredModulesPath, ... }: +{ config, pkgs, lib, foodogsquaredModulesPath, ... }: { imports = [ @@ -10,6 +10,7 @@ # Include the disko configuration. ./disko.nix + # My host-specific modules. ./modules ]; @@ -32,17 +33,7 @@ services.xserver.displayManager.gdm.enable = true; # The keyfile required for the secrets to be decrypted. - sops.age.keyFile = "/var/lib/sops-nix/key.txt"; - - # My custom configuration with my custom modules starts here. - suites = { - archiving.enable = true; - browsers.chromium.enable = true; - filesystem.setups.personal-webstorage.enable = true; - }; - - # Basically, the most basic nixpkgs configuration. - environment.variables.NIXPKGS_CONFIG = lib.mkForce ./config/nixpkgs/config.nix; + sops.age.keyFile = "/var/lib/sops-nix/key"; # Enable Nix channels. nix.channel.enable = true; @@ -50,11 +41,5 @@ # Make Nix experimental. nix.package = pkgs.nixStable; - # Some more experimentals for Nix. - nix.settings = { - auto-allocate-uids = true; - experimental-features = [ "auto-allocate-uids" ]; - }; - system.stateVersion = "24.05"; # Yes! I read the comment! }