Updated the configuration files for miniserver, server, and workstation to include user-specific settings for Emacs and Stylix. This change enhances user management consistency and aligns with the recent refactor for multi-user support in the configuration.
53 lines
873 B
Nix
53 lines
873 B
Nix
{ inputs }:
|
|
let
|
|
inherit (inputs.self.lib)
|
|
mkEnabled
|
|
mkEnabledWithUsers
|
|
mkEnabledWithProxy
|
|
enableList
|
|
;
|
|
in
|
|
{
|
|
emacs = {
|
|
enable = true;
|
|
users = "jawz";
|
|
};
|
|
stylix = {
|
|
enable = true;
|
|
users = "jawz";
|
|
};
|
|
enableProxy = true;
|
|
websites.portfolio.enableProxy = true;
|
|
apps = enableList mkEnabledWithUsers [
|
|
"dictionaries"
|
|
];
|
|
services = enableList mkEnabled [
|
|
"network"
|
|
];
|
|
shell = enableList mkEnabledWithUsers [
|
|
"tools"
|
|
"multimedia"
|
|
];
|
|
dev = enableList mkEnabledWithUsers [
|
|
"nix"
|
|
"python"
|
|
"sh"
|
|
];
|
|
units = enableList mkEnabled [
|
|
"download"
|
|
"stream-dl"
|
|
];
|
|
scripts = enableList mkEnabled [
|
|
"split-dir"
|
|
"pika-list"
|
|
"update-dns"
|
|
];
|
|
servers =
|
|
enableList mkEnabled [
|
|
"qbittorrent"
|
|
]
|
|
// enableList mkEnabledWithProxy [
|
|
"audiobookshelf"
|
|
];
|
|
}
|