mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2026-01-02 22:29:52 +01:00
profile/core: convert to nixosModule
This commit is contained in:
parent
346f4d6592
commit
fc2feddfbb
3 changed files with 28 additions and 10 deletions
|
|
@ -17,8 +17,7 @@ let
|
|||
};
|
||||
};
|
||||
|
||||
customModules = import ../profiles/core/default.nix;
|
||||
baseModules = [
|
||||
defaultModules = [
|
||||
# make flake inputs accessible in NixOS
|
||||
{
|
||||
_module.args.self = self;
|
||||
|
|
@ -45,10 +44,12 @@ let
|
|||
sops-nix.nixosModules.sops
|
||||
];
|
||||
}
|
||||
{
|
||||
my.profiles.core.enable = true;
|
||||
}
|
||||
../modules
|
||||
../profiles
|
||||
];
|
||||
defaultModules = baseModules ++ customModules;
|
||||
in
|
||||
{
|
||||
flake.nixosConfigurations = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue