nix-serve maybe

This commit is contained in:
mjallen18
2025-03-03 15:37:18 -06:00
parent 8dca0cd14a
commit 208f9e5730
191 changed files with 224 additions and 4 deletions

27
hosts/desktop/configuration.nix Normal file → Executable file
View File

@@ -108,10 +108,29 @@ in
apps.discover-wrapped.enable = lib.mkDefault false;
chaotic.mesa-git.enable = true;
nix.settings.trusted-users = lib.mkDefault [
"root"
user
];
# Enable nix flakes and nix-command tools
nix = {
settings = {
substituters = [
"https://cache.mjallen.dev"
"https://nix-community.cachix.org"
"https://cache.nixos.org/"
];
trusted-public-keys = [
"cache.mjallen.dev-1:IzFmKCd8/gggI6lcCXsW65qQwiCLGFFN9t9s2iw7Lvc="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
warn-dirty = lib.mkForce false;
experimental-features = lib.mkForce [
"nix-command"
"flakes"
];
};
trusted-users = lib.mkDefault [
"root"
user
];
};
services = {
# Enable Desktop Environment.