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);
|
cleanTmpDir = mkDefault (!config.boot.tmpOnTmpfs);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
programs = {
|
||||||
# Allow non-root users to allow other users to access mount point
|
# 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 = {
|
services = {
|
||||||
# Ensure certain necessary directories always exist
|
# Ensure certain necessary directories always exist
|
||||||
|
|
|
@ -63,14 +63,7 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
environment = {
|
environment.variables.EDITOR =
|
||||||
systemPackages = with pkgs; [
|
|
||||||
ffmpeg
|
|
||||||
];
|
|
||||||
|
|
||||||
shellAliases = { };
|
|
||||||
|
|
||||||
variables.EDITOR =
|
|
||||||
let
|
let
|
||||||
editorScript = pkgs.writeScriptBin "emacseditor" ''
|
editorScript = pkgs.writeScriptBin "emacseditor" ''
|
||||||
#!${pkgs.runtimeShell}
|
#!${pkgs.runtimeShell}
|
||||||
|
@ -82,11 +75,6 @@ in
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
(lib.mkOverride 900 "${editorScript}/bin/emacseditor");
|
(lib.mkOverride 900 "${editorScript}/bin/emacseditor");
|
||||||
};
|
|
||||||
|
|
||||||
programs = {
|
|
||||||
dconf.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
modules = {
|
modules = {
|
||||||
locale.fonts = {
|
locale.fonts = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue