mirror of
https://github.com/Unkn0wnCat/dotfiles.git
synced 2025-05-01 19:06:19 +02:00
34 lines
No EOL
713 B
Nix
34 lines
No EOL
713 B
Nix
{self, inputs, ...}:
|
|
let
|
|
inherit (inputs.nixpkgs) lib;
|
|
inherit (inputs) nixpkgs;
|
|
|
|
defaultModules = [
|
|
{
|
|
_module.args.self = self;
|
|
_module.args.inputs = self.inputs;
|
|
}
|
|
({ ... }: {
|
|
#srvos.flake = self;
|
|
#documentation.info.enable = false;
|
|
#services.envfs.enable = true;
|
|
|
|
imports = [
|
|
inputs.sops-nix.nixosModules.sops
|
|
./modules/users.nix
|
|
./modules/common.nix
|
|
];
|
|
})
|
|
];
|
|
in
|
|
{
|
|
flake.nixosConfigurations = {
|
|
kevin-tp = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = defaultModules ++ [
|
|
inputs.home-manager.nixosModules.home-manager
|
|
./kevin-tp/configuration.nix
|
|
];
|
|
};
|
|
};
|
|
} |