refactor(infinidoge): move common elements to core/global
This commit is contained in:
parent
8b18fc1013
commit
6997ef919f
2 changed files with 20 additions and 26 deletions
|
@ -20,8 +20,14 @@ with lib.hlissner;
|
|||
cleanTmpDir = mkDefault (!config.boot.tmpOnTmpfs);
|
||||
};
|
||||
|
||||
|
||||
programs = {
|
||||
# Allow non-root users to allow other users to access mount point
|
||||
programs.fuse.userAllowOther = mkDefault true;
|
||||
fuse.userAllowOther = mkDefault true;
|
||||
|
||||
# Enable dconf for programs that need it
|
||||
dconf.enable = true;
|
||||
};
|
||||
|
||||
services = {
|
||||
# Ensure certain necessary directories always exist
|
||||
|
|
|
@ -63,14 +63,7 @@ in
|
|||
];
|
||||
};
|
||||
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
ffmpeg
|
||||
];
|
||||
|
||||
shellAliases = { };
|
||||
|
||||
variables.EDITOR =
|
||||
environment.variables.EDITOR =
|
||||
let
|
||||
editorScript = pkgs.writeScriptBin "emacseditor" ''
|
||||
#!${pkgs.runtimeShell}
|
||||
|
@ -82,11 +75,6 @@ in
|
|||
'';
|
||||
in
|
||||
(lib.mkOverride 900 "${editorScript}/bin/emacseditor");
|
||||
};
|
||||
|
||||
programs = {
|
||||
dconf.enable = true;
|
||||
};
|
||||
|
||||
modules = {
|
||||
locale.fonts = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue