mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-03-15 18:19:00 +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 = [
|
imports = [
|
||||||
@ -10,6 +10,7 @@
|
|||||||
# Include the disko configuration.
|
# Include the disko configuration.
|
||||||
./disko.nix
|
./disko.nix
|
||||||
|
|
||||||
|
# My host-specific modules.
|
||||||
./modules
|
./modules
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -32,17 +33,7 @@
|
|||||||
services.xserver.displayManager.gdm.enable = true;
|
services.xserver.displayManager.gdm.enable = true;
|
||||||
|
|
||||||
# The keyfile required for the secrets to be decrypted.
|
# The keyfile required for the secrets to be decrypted.
|
||||||
sops.age.keyFile = "/var/lib/sops-nix/key.txt";
|
sops.age.keyFile = "/var/lib/sops-nix/key";
|
||||||
|
|
||||||
# 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;
|
|
||||||
|
|
||||||
# Enable Nix channels.
|
# Enable Nix channels.
|
||||||
nix.channel.enable = true;
|
nix.channel.enable = true;
|
||||||
@ -50,11 +41,5 @@
|
|||||||
# Make Nix experimental.
|
# Make Nix experimental.
|
||||||
nix.package = pkgs.nixStable;
|
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!
|
system.stateVersion = "24.05"; # Yes! I read the comment!
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user