This commit is contained in:
Lilith 2025-03-12 14:42:18 +01:00
parent f339b338a3
commit 701c9d71f0
Signed by: lilith
GPG key ID: 8712A0F317C37175
5 changed files with 44 additions and 14 deletions

View file

@ -28,7 +28,20 @@
}; };
}; };
ags.url = "github:Aylur/ags"; ags = {
url = "github:aylur/ags";
inputs.nixpkgs.follows = "nixpkgs";
inputs.astal = {
url = "github:aylur/astal";
inputs.nixpkgs.follows = "nixpkgs";
};
};
matshell = {
url = "github:Neurarian/matshell";
inputs.nixpkgs.follows = "nixpkgs";
inputs.ags.follows = "ags";
};
}; };
outputs = { outputs = {

View file

@ -6,13 +6,15 @@
home-manager.backupFileExtension = "bak"; home-manager.backupFileExtension = "bak";
home-manager.users."lilith" = { home-manager.users."lilith" = {
imports = [ imports = [
ags.homeManagerModules.default # ags.homeManagerModules.default
sops-nix.homeManagerModules.sops sops-nix.homeManagerModules.sops
./ags # ToDo: get codin :3 # ./ags # ToDo: get codin :3
./hyprland ./hyprland
./rofi.nix ./rofi.nix
./dunst.nix ./dunst.nix
./matshell.nix
./env.nix ./env.nix
./alacritty.nix ./alacritty.nix

View file

@ -6,9 +6,7 @@
# ./utils.nix # ./utils.nix
]; ];
wayland.windowManager = let wayland.windowManager.hyprland = {
hyprDefaults = {
enable = true; enable = true;
xwayland.enable = true; xwayland.enable = true;
@ -22,6 +20,8 @@
"HYPRCURSOR_THEME,rose-pine-hyprcursor" "HYPRCURSOR_THEME,rose-pine-hyprcursor"
]; ];
xwayland.force_zero_scaling = true;
monitor = [ monitor = [
",preferred,1" ",preferred,1"
]; ];
@ -77,9 +77,11 @@
passes = 1; passes = 1;
}; };
drop_shadow = true; shadow = {
shadow_range = 4; enabled = true;
shadow_render_power = 3; range = 4;
render_power = 3;
};
}; };
animations = { animations = {
@ -126,7 +128,6 @@
"$mainMod, P, exec, if (( $(pgrep keepassxc -c) < 2 )); then keepassxc; fi" "$mainMod, P, exec, if (( $(pgrep keepassxc -c) < 2 )); then keepassxc; fi"
"$mainMod, O, togglespecialworkspace, chatgpt" "$mainMod, O, togglespecialworkspace, chatgpt"
"$mainMod, O, exec, [workspace special:chatgpt] pgrep firefox | xargs ps -fp | grep -- '-P ChatGPT --url chat.openai.com' || firefox -P ChatGPT --url chat.openai.com"
", print, exec, hyprshot -m region -o /home/lilith/sync/screenshots -z" ", print, exec, hyprshot -m region -o /home/lilith/sync/screenshots -z"
"CTRL, print, exec, hyprshot -m output -o /home/lilith/sync/screenshots -z" "CTRL, print, exec, hyprshot -m output -o /home/lilith/sync/screenshots -z"
@ -175,7 +176,4 @@
]; ];
}; };
}; };
in {
hyprland = hyprDefaults;
};
} }

7
home/matshell.nix Normal file
View file

@ -0,0 +1,7 @@
{ matshell, ...}: {
imports = [ matshell.homeManagerModules.default ];
programs.ags = {
matshell.enable = true;
};
}

View file

@ -1,2 +1,12 @@
{...}: { { lib, ...}: {
home-manager.users."lilith".wayland.windowManager.hyprland.settings = {
input.kb_layout = lib.mkForce "en";
monitor = lib.mkForce [
"DP-3, 3840x2160, 0x0, 1.5"
"DP-4, 2560x1440, 2560x0, 1"
",preferred,auto,1"
];
};
} }