module: global & core -> global/*
This commit is contained in:
parent
68f344acf0
commit
1f0035cddd
6 changed files with 171 additions and 73 deletions
26
modules/global/general.nix
Normal file
26
modules/global/general.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
bud.enable = true;
|
||||
|
||||
programs = {
|
||||
# Enable dconf for programs that need it
|
||||
dconf.enable = true;
|
||||
|
||||
udevil.enable = true;
|
||||
};
|
||||
|
||||
services = {
|
||||
# Enable Early Out of Memory service
|
||||
earlyoom.enable = true;
|
||||
|
||||
# Ensure certain necessary directories always exist
|
||||
ensure.directories = [ "/mnt" ];
|
||||
};
|
||||
|
||||
system.activationScripts = {
|
||||
# FIX: command-not-found database doesn't exist normally
|
||||
channels-update.text = ''
|
||||
${pkgs.nix}/bin/nix-channel --update
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue