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