nixos/system/Legion.nix

50 lines
1.1 KiB
Nix
Raw Normal View History

{
config,
lib,
username,
...
}:
2024-07-30 15:06:34 +01:00
{
imports = [
2024-11-28 07:07:50 +00:00
./services/adguardhome.nix
./services/caddy.nix
./services/forgejo.nix
./services/grafana.nix
./services/home-assistant.nix
./services/nix-serve.nix
./services/sshd.nix
./services/syncthing.nix
2025-01-17 11:46:00 +00:00
./services/webdav.nix
./services/xandikos.nix
2024-12-21 07:05:41 +00:00
# ./services/minecraft.nix
2025-01-11 15:35:13 +00:00
# ./services/satisfactory/default.nix
];
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
home-manager.users.${username} = {
imports = [ ./home/emacs/default.nix ];
services.emacs.enable = false;
home.stateVersion = "23.05";
};
system = {
stateVersion = "23.05";
autoUpgrade = {
enable = true;
persistent = true;
allowReboot = false;
flake = "git+${config.nix.registry.my-nixos.to.url}";
dates = "02:00";
flags = [
"--option"
"extra-binary-caches"
"https://nix.xenia.me.uk"
];
};
};
users.mutableUsers = false;
hardware.bluetooth.enable = true;
networking.nameservers = lib.mkForce [ "0.0.0.0" ];
}