- Enable desktop system in flake with all modules imported in flake file, and arguments for those modules passed via specialArgs. - Disable fileSystems mounts for iscsi. - Refactor smb.nix to define all working shares. (TODO: Figure out how to enable a subset of shares by arguments passed to module). - Roll cloudflare_stream.token. - Extract all module calls out of configuration.nix for desktop. Remove configuration nodes duplicated in system.nix. - Fix dependence on deprecated "sys" subattributes in desktop-environment.nix. - Remove iscsi configuration from filesystems.nix. Using iscsi module instead. - Update terminal-environment.nix to use git attrset where appropriate. - Hardcode wallpaper file in theme.nix. -
47 lines
1.0 KiB
Nix
47 lines
1.0 KiB
Nix
{ sys, pkgs, inputs, ... }: {
|
|
|
|
environment.sessionVariables = {
|
|
"FLAKE_DIR" = "/home/${sys.username}/Git/Jafner.net/dotfiles";
|
|
};
|
|
|
|
home-manager.backupFileExtension = "bk";
|
|
home-manager.users."${sys.username}" = {
|
|
nixGL = {
|
|
vulkan.enable = true;
|
|
defaultWrapper = "mesa";
|
|
installScripts = [ "mesa" ];
|
|
};
|
|
home = {
|
|
enableNixpkgsReleaseCheck = false;
|
|
preferXdgDirectories = true;
|
|
username = "${sys.username}";
|
|
homeDirectory = "/home/${sys.username}";
|
|
};
|
|
xdg.systemDirs.data = [
|
|
"/usr/share"
|
|
];
|
|
programs.home-manager.enable = true;
|
|
home.stateVersion = "24.11";
|
|
};
|
|
|
|
users.users."${sys.username}" = {
|
|
extraGroups = [ "input" ];
|
|
};
|
|
|
|
programs.ydotool = {
|
|
enable = true;
|
|
group = "wheel";
|
|
};
|
|
|
|
systemd.enableEmergencyMode = false;
|
|
|
|
fonts.packages = with pkgs; [
|
|
font-awesome
|
|
noto-fonts
|
|
noto-fonts-cjk-sans
|
|
noto-fonts-emoji
|
|
powerline-symbols
|
|
(pkgs.nerdfonts.override {fonts = ["NerdFontsSymbolsOnly"];})
|
|
];
|
|
}
|