feat: introducing my own system_profiles
This commit is contained in:
parent
8191d1be67
commit
ad59ee55cc
2 changed files with 31 additions and 0 deletions
10
system_profiles/mini-container.nix
Normal file
10
system_profiles/mini-container.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
imports = [
|
||||
./mini.nix
|
||||
|
||||
{
|
||||
boot.isContainer = true;
|
||||
boot.kernel.enable = false;
|
||||
}
|
||||
];
|
||||
}
|
21
system_profiles/mini.nix
Normal file
21
system_profiles/mini.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/profiles/minimal.nix")
|
||||
(modulesPath + "/profiles/perlless.nix")
|
||||
|
||||
{
|
||||
boot.isContainer = true;
|
||||
boot.kernel.enable = false;
|
||||
environment.defaultPackages = [];
|
||||
nixpkgs.overlays = [(self: super: {})];
|
||||
}
|
||||
];
|
||||
|
||||
disabledModules = [
|
||||
(modulesPath + "/profiles/all-hardware.nix")
|
||||
(modulesPath + "/profiles/base.nix")
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue