mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
hosts/ni: update base config
This commit is contained in:
parent
214a9b886f
commit
bece09c134
@ -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!
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user