feat: make tyr definition more like the other servers.
This commit is contained in:
parent
bf659b8482
commit
302a18068c
1 changed files with 5 additions and 19 deletions
24
flake.nix
24
flake.nix
|
|
@ -166,6 +166,7 @@
|
|||
hostsData = import ./hosts.nix;
|
||||
serversOnly = nixpkgs.lib.filterAttrs (n: v: v.type == "server") hostsData;
|
||||
mkDeployNode = hostname: arch: {
|
||||
name = hostname;
|
||||
inherit hostname;
|
||||
profiles.system = {
|
||||
sshUser = "root";
|
||||
|
|
@ -286,26 +287,11 @@
|
|||
modules = [
|
||||
disko.nixosModules.disko
|
||||
agenix.nixosModules.default
|
||||
inputs.stylix.nixosModules.stylix
|
||||
auto-cpufreq.nixosModules.default
|
||||
./hosts/tyr/configuration.nix
|
||||
./modules/linux/nixos
|
||||
./modules/servers/tyr
|
||||
./modules/servers/general/restic.nix
|
||||
./modules/servers/general/podman.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.extraSpecialArgs = {inherit inputs;};
|
||||
home-manager.backupFileExtension = "backup";
|
||||
home-manager.users.crony = {
|
||||
imports = [
|
||||
./modules/linux/home-manager
|
||||
./modules/cross-platform/home-manager
|
||||
./hosts/tyr/home.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
./hosts/tyr/configuration.nix
|
||||
./modules/servers/general
|
||||
./modules/servers/tyr
|
||||
./modules/servers/home-manager
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue