module: global & core -> global/*

This commit is contained in:
Infinidoge 2022-04-20 11:01:32 -04:00
parent 68f344acf0
commit 1f0035cddd
6 changed files with 171 additions and 73 deletions

View 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
'';
};
}