mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-05 20:56:33 +05:30
58 lines
1.0 KiB
Nix
58 lines
1.0 KiB
Nix
{
|
|
modulesPath,
|
|
inputs,
|
|
username,
|
|
...
|
|
}: {
|
|
imports = [
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
(modulesPath + "/profiles/qemu-guest.nix")
|
|
inputs.disko.nixosModules.default
|
|
(import ./disko.nix {device = "/dev/sda";})
|
|
|
|
../common
|
|
../../modules/nixos/virtualisation/docker.nix
|
|
../../modules/nixos/containers/cs2.nix
|
|
];
|
|
|
|
tux.services.openssh.enable = true;
|
|
|
|
sops.secrets = {
|
|
"cs2_secrets/SRCDS_TOKEN" = {
|
|
sopsFile = ./secrets.yaml;
|
|
};
|
|
|
|
"cs2_secrets/CS2_RCONPW" = {
|
|
sopsFile = ./secrets.yaml;
|
|
};
|
|
|
|
"cs2_secrets/CS2_PW" = {
|
|
sopsFile = ./secrets.yaml;
|
|
};
|
|
};
|
|
|
|
nixpkgs.hostPlatform = "x86_64-linux";
|
|
|
|
networking = {
|
|
hostName = "capella";
|
|
firewall.enable = false;
|
|
};
|
|
|
|
boot.loader.grub = {
|
|
efiSupport = true;
|
|
efiInstallAsRemovable = true;
|
|
};
|
|
|
|
environment.persistence."/persist" = {
|
|
enable = false;
|
|
};
|
|
|
|
home-manager.users.${username} = {
|
|
imports = [
|
|
./home.nix
|
|
];
|
|
};
|
|
|
|
system.stateVersion = "24.11";
|
|
}
|