parent
f037d1dd80
commit
2637817c9c
20 changed files with 8 additions and 12 deletions
12
flake.nix
12
flake.nix
|
|
@ -60,28 +60,28 @@
|
|||
homeManagerModules = import ./modules/home-manager;
|
||||
|
||||
nixosConfigurations = {
|
||||
makise = inputs.nixpkgs.lib.nixosSystem {
|
||||
cl-00-00 = inputs.nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs outputs; };
|
||||
modules = [
|
||||
./hosts/makise/system/system.nix
|
||||
./hosts/cl-00-00/system/system.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
homeConfigurations = {
|
||||
"kurisu@makise" = inputs.home-manager.lib.homeManagerConfiguration {
|
||||
"kurisu@cl-00-00" = inputs.home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
|
||||
extraSpecialArgs = { inherit inputs outputs; };
|
||||
modules = [
|
||||
./hosts/makise/homes/kurisu/home.nix
|
||||
./hosts/cl-00-00/homes/kurisu/home.nix
|
||||
];
|
||||
};
|
||||
|
||||
"admin@makise" = inputs.home-manager.lib.homeManagerConfiguration {
|
||||
"admin@cl-00-00" = inputs.home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
|
||||
extraSpecialArgs = { inherit inputs outputs; };
|
||||
modules = [
|
||||
./hosts/makise/homes/admin/default.nix
|
||||
./hosts/cl-00-00/homes/admin/default.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
keys:
|
||||
- &host_makise age1pj86dmk8j5tne0r7zu09v3x40xjdae6mhvrzyw5squ9px96z9p0suj89f8
|
||||
- &host_cl-00-00 age1pj86dmk8j5tne0r7zu09v3x40xjdae6mhvrzyw5squ9px96z9p0suj89f8
|
||||
- &user_kurisu age1w3n63wg0pkjy300hsaw6uvd6ell7hpkfpd7knjsp637u2dcjx3nql654fm
|
||||
creation_rules:
|
||||
- path_regex: secrets/[^/]+\.(yaml|json|env|ini)$
|
||||
key_groups:
|
||||
- age:
|
||||
- *host_makise
|
||||
- *host_cl-00-00
|
||||
- *user_kurisu
|
||||
|
|
@ -5,10 +5,6 @@
|
|||
# USAGE:
|
||||
# rebuild-system.sh # Rebuild system with current hostname
|
||||
# rebuild-system.sh hostname # Rebuild specific system
|
||||
#
|
||||
# EXAMPLES:
|
||||
# rebuild-system.sh
|
||||
# rebuild-system.sh makise
|
||||
|
||||
if [ ! -z $1 ]; then
|
||||
export HOST=$1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue