hosts/ni: update base config

This commit is contained in:
Gabriel Arazas 2024-03-03 16:52:43 +08:00
parent 214a9b886f
commit bece09c134
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -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!
}