Make use of Nix profiles
This commit is contained in:
parent
e6bd37c5d4
commit
82df5189d6
9 changed files with 26 additions and 46 deletions
|
@ -1,7 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./minimal
|
||||
./modules
|
||||
./nix
|
||||
./timezone
|
||||
];
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
{ ... }:
|
||||
{
|
||||
environment = {
|
||||
defaultPackages = [ ];
|
||||
stub-ld.enable = false;
|
||||
};
|
||||
|
||||
documentation = {
|
||||
doc.enable = false;
|
||||
info.enable = false;
|
||||
nixos.enable = false;
|
||||
};
|
||||
|
||||
programs = {
|
||||
nano.enable = false;
|
||||
less.lessopen = null;
|
||||
command-not-found.enable = false;
|
||||
};
|
||||
|
||||
services.logrotate.enable = false;
|
||||
}
|
8
system/settings/modules/default.nix
Normal file
8
system/settings/modules/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ modulesPath, ... }:
|
||||
{
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
(modulesPath + "/profiles/minimal.nix")
|
||||
(modulesPath + "/profiles/headless.nix")
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue