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;
|
hostsData = import ./hosts.nix;
|
||||||
serversOnly = nixpkgs.lib.filterAttrs (n: v: v.type == "server") hostsData;
|
serversOnly = nixpkgs.lib.filterAttrs (n: v: v.type == "server") hostsData;
|
||||||
mkDeployNode = hostname: arch: {
|
mkDeployNode = hostname: arch: {
|
||||||
|
name = hostname;
|
||||||
inherit hostname;
|
inherit hostname;
|
||||||
profiles.system = {
|
profiles.system = {
|
||||||
sshUser = "root";
|
sshUser = "root";
|
||||||
|
|
@ -286,26 +287,11 @@
|
||||||
modules = [
|
modules = [
|
||||||
disko.nixosModules.disko
|
disko.nixosModules.disko
|
||||||
agenix.nixosModules.default
|
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.nixosModules.home-manager
|
||||||
{
|
./hosts/tyr/configuration.nix
|
||||||
home-manager.useGlobalPkgs = true;
|
./modules/servers/general
|
||||||
home-manager.extraSpecialArgs = {inherit inputs;};
|
./modules/servers/tyr
|
||||||
home-manager.backupFileExtension = "backup";
|
./modules/servers/home-manager
|
||||||
home-manager.users.crony = {
|
|
||||||
imports = [
|
|
||||||
./modules/linux/home-manager
|
|
||||||
./modules/cross-platform/home-manager
|
|
||||||
./hosts/tyr/home.nix
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue