added AZPIPRODUKTION / restructure user folders
This commit is contained in:
104
home/users/sascha.koenig/AZLT124-L.nix
Normal file
104
home/users/sascha.koenig/AZLT124-L.nix
Normal file
@@ -0,0 +1,104 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.features.desktop.hyprland;
|
||||
in {
|
||||
imports = [
|
||||
../../common
|
||||
./home.nix
|
||||
../../features/cli
|
||||
../../features/coding
|
||||
../../features/desktop
|
||||
inputs.nix-colors.homeManagerModules.default
|
||||
];
|
||||
|
||||
config = mkMerge [
|
||||
{
|
||||
xdg = {
|
||||
enable = true;
|
||||
configFile."mimeapps.list".force = true;
|
||||
mimeApps = {
|
||||
enable = true;
|
||||
associations.added = {
|
||||
"application/zip" = ["org.gnome.FileRoller.desktop"];
|
||||
"application/csv" = ["calc.desktop"];
|
||||
"application/pdf" = ["vivaldi-stable.desktop"];
|
||||
"x-scheme-handler/http" = ["vivaldi-stable.desktop"];
|
||||
"x-scheme-handler/https" = ["vivaldi-stable.desktop"];
|
||||
};
|
||||
defaultApplications = {
|
||||
"application/zip" = ["org.gnome.FileRoller.desktop"];
|
||||
"application/csv" = ["calc.desktop"];
|
||||
"application/pdf" = ["vivaldi-stable.desktop"];
|
||||
"application/md" = ["dev.zed.Zed.desktop"];
|
||||
"application/text" = ["dev.zed.Zed.desktop"];
|
||||
"x-scheme-handler/http" = ["vivaldi-stable.desktop"];
|
||||
"x-scheme-handler/https" = ["vivaldi-stable.desktop"];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.hyprpaper.settings = {
|
||||
ipc = "on";
|
||||
preload = ["/home/sascha.koenig/.config/hypr/wallpapers/wallhaven-lmmo8r_2560x1600.png"];
|
||||
wallpaper = [
|
||||
"eDP-1,/home/sascha.koenig/.config/hypr/wallpapers/wallhaven-lmmo8r_2560x1600.png"
|
||||
"DP-8,/home/sascha.koenig/.config/hypr/wallpapers/wallhaven-lmmo8r_2560x1600.png"
|
||||
"DP-9,/home/sascha.koenig/.config/hypr/wallpapers/wallhaven-lmmo8r_2560x1600.png"
|
||||
];
|
||||
};
|
||||
|
||||
features = {
|
||||
cli = {
|
||||
fish.enable = true;
|
||||
nushell.enable = true;
|
||||
fzf.enable = true;
|
||||
nitch.enable = true;
|
||||
secrets.enable = true;
|
||||
starship.enable = true;
|
||||
};
|
||||
desktop = {
|
||||
coding.enable = true;
|
||||
hyprland.enable = true;
|
||||
media.enable = true;
|
||||
office.enable = true;
|
||||
rofi.enable = true;
|
||||
fonts.enable = true;
|
||||
wayland.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
(mkIf cfg.enable {
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
settings = {
|
||||
source = "~/.config/hypr/monitors.conf";
|
||||
workspace = [
|
||||
"1, monitor:eDP-1, default:true"
|
||||
"2, monitor:eDP-1"
|
||||
"3, monitor:DP-9"
|
||||
"4, monitor:DP-9"
|
||||
"5, monitor:DP-8"
|
||||
"6, monitor:DP-8"
|
||||
];
|
||||
windowrule = [
|
||||
"match:class com.obsproject.Studio, workspace 1"
|
||||
"match:class dev.zed.Zed, workspace 3"
|
||||
"match:class vivaldi-stable, workspace 5, opacity 1.0"
|
||||
"match:initial_title 3.basecamp.com_/5996442/, workspace 5, opacity 1.0"
|
||||
"match:initial_title 3.basecamp.com_/5996442/, tile on"
|
||||
"match:initial_title teams.microsoft.com_/, workspace 6, opacity 1.0"
|
||||
"match:initial_title teams.microsoft.com_/, tile on"
|
||||
"match:initial_title outlook.office.com_/mail/, workspace 6, opacity 1.0"
|
||||
"match:initial_title outlook.office.com_/mail/, tile on"
|
||||
];
|
||||
};
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user