Update flake.nix

This commit is contained in:
Hendrik Sokolowski 2022-08-13 14:07:17 +02:00
parent 552f60b7be
commit 845444f528

View file

@ -101,7 +101,6 @@
digga.nixosModules.nixConfig
home.nixosModules.home-manager
agenix.nixosModules.age
musnix.nixosModules.musnix
];
};
@ -109,9 +108,21 @@
hosts = {
/* set host specific properties here */
PubSolarOS = { };
companion = {
system = "aarch64-linux";
};
cox = {
system = "aarch64-linux";
};
giggles = {
system = "aarch64-linux";
};
harrison = {
modules = [
musnix.nixosModules.musnix
];
};
norman = { };
};
importables = rec {
profiles = digga.lib.rakeLeaves ./profiles // {
@ -125,11 +136,27 @@
pubsolaros-light = [ core-light base-user users.root ];
hensoko = pubsolaros ++ [ users.hensoko ];
hensoko-light = pubsolaros-light ++ [ users.hensoko ];
giggles = hensoko-light ++ [ ];
norman = hensoko ++ [ graphical non-free social virtualisation work ];
hensoko-iot = [ core-light base-user users.root users.hensoko ];
# server
cube = hensoko-iot;
# home-controller
companion = hensoko-iot;
cox = hensoko-iot;
giggles = hensoko-iot;
# laptop
ringo = hensoko-light ++ [ ];
# vm
redpanda = hensoko;
ringo = hensoko-light ++ [ graphical ];
harrison = hensoko ++ [ graphical non-free social server work ];
# home pc
harrison = hensoko ++ [ daw graphical non-free social work ];
# work laptop
norman = hensoko ++ [ graphical non-free social virtualisation work ];
};
};
};
@ -146,6 +173,7 @@
users = {
pub-solar = { suites, ... }: { imports = suites.base; };
hensoko = { suites, ... }: { imports = suites.base; };
hensoko_iot = { suites, ... }: { imports = suites.base; };
}; # digga.lib.importers.rakeLeaves ./users/hm;
};
@ -154,25 +182,35 @@
homeConfigurations = digga.lib.mkHomeConfigurations self.nixosConfigurations;
deploy.nodes = digga.lib.mkDeployNodes self.nixosConfigurations {
redpanda = {
hostname = "192.168.42.71:22";
sshUser = "hensoko";
fastConnect = true;
profilesOrder = [ "system" "direnv" ];
profiles.direnv = {
user = "hensoko";
path = deploy.lib.x86_64-linux.activate.home-manager self.homeConfigurationsPortable.x86_64-linux.hensoko;
};
cube = {
};
companion = {
#profilesOrder = [ "system" "direnv" ];
#profiles.direnv = {
# user = "hensoko";
# path = deploy.lib.aarch64-linux.activate.home-manager self.homeConfigurationsPortable.aarch64-linux."hensoko";
#};
};
cox = {
#profilesOrder = [ "system" "direnv" ];
#profiles.direnv = {
# user = "hensoko";
# path = deploy.lib.aarch64-linux.activate.home-manager self.homeConfigurationsPortable.aarch64-linux."hensoko";
#};
};
giggles = {
hostname = "192.168.42.71:22";
sshUser = "hensoko";
fastConnect = true;
profilesOrder = [ "system" "direnv" ];
profiles.direnv = {
user = "hensoko";
path = deploy.lib.x86_64-linux.activate.home-manager self.homeConfigurationsPortable.x86_64-linux.hensoko;
};
#profilesOrder = [ "system" "direnv" ];
#profiles.direnv = {
# user = "hensoko";
# path = deploy.lib.aarch64-linux.activate.home-manager self.homeConfigurationsPortable.aarch64-linux."hensoko";
#};
};
ringo = {
#profilesOrder = [ "system" "direnv" ];
#profiles.direnv = {
# user = "hensoko";
# path = deploy.lib.x86_64-linux.activate.home-manager self.homeConfigurationsPortable.x86_64-linux."hensoko";
#};
};
};