mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 22:00:42 +00:00
Add optional system modules
This commit is contained in:
parent
58d9a3c908
commit
ae1c7b257e
6 changed files with 64 additions and 8 deletions
14
system/options/cachix.nix
Normal file
14
system/options/cachix.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
_: {
|
||||
nix.settings = {
|
||||
substituters = [
|
||||
"https://nix-community.cachix.org"
|
||||
"https://nixpkgs-wayland.cachix.org"
|
||||
"https://viperml.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
"nixpkgs-wayland.cachix.org-1:3lwxaILxMRkVhehr5StQprHdEo4IrE8sRho9R9HOLYA="
|
||||
"viperml.cachix.org-1:qZhKBMTfmcLL+OG6fj/hzsMEedgKvZVFRRAhq7j8Vh8="
|
||||
];
|
||||
};
|
||||
}
|
9
system/options/oomd.nix
Normal file
9
system/options/oomd.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
_: {
|
||||
systemd.oomd = {
|
||||
enable = true;
|
||||
enableSystemSlice = true;
|
||||
enableRootSlice = true;
|
||||
enableUserSlices = true;
|
||||
};
|
||||
}
|
||||
|
12
system/options/systemd-boot.nix
Normal file
12
system/options/systemd-boot.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
_: {
|
||||
boot.loader = {
|
||||
systemd-boot = {
|
||||
enable = true;
|
||||
memtest86.enable = true;
|
||||
editor = true;
|
||||
};
|
||||
efi.canTouchEfiVariables = true;
|
||||
timeout = 3;
|
||||
};
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue