45 lines
1.1 KiB
Nix
45 lines
1.1 KiB
Nix
{ lib, username, ... }:
|
|
{
|
|
imports = [
|
|
# ./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
|
|
./services/webdav.nix
|
|
./services/xandikos.nix
|
|
# ./services/minecraft.nix
|
|
# ./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+https://git.xenia.me.uk/pixelifytica/nixos.git?ref=main";
|
|
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" ];
|
|
}
|