mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Adding mini-watcher
This commit is contained in:
parent
79648976a5
commit
5fbfb7ed7e
5 changed files with 78 additions and 0 deletions
25
flake.nix
25
flake.nix
|
|
@ -111,6 +111,27 @@
|
|||
];
|
||||
}; # end nixosSystem
|
||||
|
||||
linuxHomeConfig = system: hostname: username: home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
permittedInsecurePackages = [ "electron-21.4.4" ];
|
||||
};
|
||||
};
|
||||
extraSpecialArgs = { inherit genebean-omp-themes hostname username; };
|
||||
modules = [
|
||||
./modules/home-manager/hosts/${hostname}/${username}.nix
|
||||
{
|
||||
home = {
|
||||
username = "${username}";
|
||||
homeDirectory = "/home/${username}";
|
||||
};
|
||||
}
|
||||
sops-nix.homeManagerModules.sops
|
||||
];
|
||||
}; # end homeManagerConfiguration
|
||||
|
||||
in {
|
||||
darwinConfigurations = {
|
||||
AirPuppet = darwinHostConfig "x86_64-darwin" "AirPuppet" "gene";
|
||||
|
|
@ -121,5 +142,9 @@
|
|||
nixnuc = nixosHostConfig "x86_64-linux" "nixnuc" "gene";
|
||||
rainbow-planet = nixosHostConfig "x86_64-linux" "rainbow-planet" "gene";
|
||||
};
|
||||
|
||||
homeConfigurations = {
|
||||
gene = linuxHomeConfig "x86_64-linux" "mini-watcher" "gene";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue