migrate to clan
This commit is contained in:
parent
f817ba1405
commit
f1ec59c3af
60 changed files with 225 additions and 391 deletions
68
machines/haze/configuration.nix
Normal file
68
machines/haze/configuration.nix
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
{
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
# inputs.disko.nixosModules.disko
|
||||
inputs.agenix.nixosModules.default
|
||||
./boot.nix
|
||||
./chat.nix
|
||||
./firefox.nix
|
||||
./gimp.nix
|
||||
./gnome.nix
|
||||
./hibernate.nix
|
||||
./niri.nix
|
||||
./ssh.nix
|
||||
./steam.nix
|
||||
./thunderbird.nix
|
||||
./network.nix
|
||||
./syncthing.nix
|
||||
./video.nix
|
||||
../../system
|
||||
|
||||
inputs.clan-core.clanModules.state-version
|
||||
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.rpqt = ./home.nix;
|
||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||
}
|
||||
];
|
||||
|
||||
networking.hostName = "haze";
|
||||
clan.core.networking.targetHost = "rpqt@haze.local";
|
||||
|
||||
specialisation = {
|
||||
hyprland.configuration =
|
||||
{ ... }:
|
||||
{
|
||||
imports = [ ./hyprland.nix ];
|
||||
disabledModules = [ ./niri.nix ];
|
||||
};
|
||||
sway.configuration =
|
||||
{ ... }:
|
||||
{
|
||||
imports = [ ./sway.nix ];
|
||||
disabledModules = [ ./niri.nix ];
|
||||
};
|
||||
};
|
||||
|
||||
# Remote builds
|
||||
nix = {
|
||||
distributedBuilds = true;
|
||||
buildMachines = [
|
||||
{
|
||||
sshUser = "nixremote";
|
||||
sshKey = "/etc/ssh/ssh_host_ed25519_key";
|
||||
systems = [ "aarch64-linux" ];
|
||||
hostName = "genepi";
|
||||
}
|
||||
];
|
||||
extraOptions = ''
|
||||
builders-use-substitutes = true
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue