feat: changed some shit up
1168
flake.lock
generated
49
flake.nix
|
@ -16,15 +16,14 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
ghostty = {
|
ghostty = {
|
||||||
url = "github:clo4/ghostty-hm-module";
|
url = "github:ghostty-org/ghostty";
|
||||||
};
|
};
|
||||||
nixos-cosmic.url = "github:lilyinstarlight/nixos-cosmic";
|
nixos-cosmic.url = "github:lilyinstarlight/nixos-cosmic";
|
||||||
# edgedb = {
|
edgedb = {
|
||||||
# url = "github:edgedb/packages-nix";
|
url = "github:edgedb/packages-nix";
|
||||||
# inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
# inputs.flake-parts.follows = "flake-parts";
|
inputs.flake-parts.follows = "flake-parts";
|
||||||
# };
|
};
|
||||||
|
|
||||||
nur = {
|
nur = {
|
||||||
url = "github:nix-community/NUR";
|
url = "github:nix-community/NUR";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
@ -39,15 +38,43 @@
|
||||||
url = "github:Mic92/sops-nix";
|
url = "github:Mic92/sops-nix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
yazi = {
|
yazi.url = "github:sxyazi/yazi";
|
||||||
url = "github:sxyazi/yazi";
|
helix = {
|
||||||
|
url = "github:helix-editor/helix";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
hyprland = {
|
||||||
|
url = "github:hyprwm/Hyprland";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
hypridle = {
|
||||||
|
url = "github:hyprwm/hypridle";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
hyprlock = {
|
||||||
|
url = "github:hyprwm/hyprlock";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
wpaperd = {
|
||||||
|
url = "github:danyspin97/wpaperd";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
waybar = {
|
||||||
|
url = "github:Alexays/Waybar";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
direnv = {
|
||||||
|
url = "github:direnv/direnv";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
helix.url = "github:helix-editor/helix";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs:
|
outputs = inputs:
|
||||||
inputs.flake-parts.lib.mkFlake {inherit inputs;} {
|
inputs.flake-parts.lib.mkFlake {
|
||||||
|
inherit
|
||||||
|
inputs
|
||||||
|
;
|
||||||
|
} {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.pre-commit-hooks-nix.flakeModule
|
inputs.pre-commit-hooks-nix.flakeModule
|
||||||
./home
|
./home
|
||||||
|
|
|
@ -89,7 +89,7 @@ in {
|
||||||
dunst
|
dunst
|
||||||
easyEffects
|
easyEffects
|
||||||
gammastep
|
gammastep
|
||||||
hyprland
|
hypr
|
||||||
misc-hyprland
|
misc-hyprland
|
||||||
network
|
network
|
||||||
swaylock
|
swaylock
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
{
|
{
|
||||||
|
flake,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
programs.direnv = {
|
programs.direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = flake.inputs.direnv.packages.${pkgs.system}.default;
|
||||||
nix-direnv.enable = true;
|
nix-direnv.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,8 +3,9 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
General = {
|
General = {
|
||||||
disabledTrayIcon = false;
|
disabledTrayIcon = true;
|
||||||
showStartupLaunchMessage = false;
|
showStartupLaunchMessage = false;
|
||||||
|
disabledGrimWarning = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
in {
|
in {
|
||||||
programs.ghostty = {
|
programs.ghostty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = flake.inputs.ghostty.packages.${pkgs.system}.default;
|
||||||
settings = settingsPath;
|
settings = settingsPath;
|
||||||
themes = themesPath;
|
themes = themesPath;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,11 +1,15 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
flake,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
programs.helix = let
|
programs.helix = let
|
||||||
configPath = ./config;
|
configPath = ./config;
|
||||||
settingsPath = import (configPath + /settings.nix);
|
settingsPath = import (configPath + /settings.nix);
|
||||||
languagesPath = import (configPath + /languages.nix);
|
languagesPath = import (configPath + /languages.nix);
|
||||||
in {
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.helix;
|
package = flake.inputs.helix.packages.${pkgs.system}.default;
|
||||||
languages = languagesPath;
|
languages = languagesPath;
|
||||||
settings = settingsPath;
|
settings = settingsPath;
|
||||||
};
|
};
|
||||||
|
|
7
home/modules/hypr/default.nix
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./idle
|
||||||
|
./land
|
||||||
|
./wpaperd
|
||||||
|
];
|
||||||
|
}
|
22
home/modules/hypr/idle/config/settings.nix
Executable file
|
@ -0,0 +1,22 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
general = {
|
||||||
|
lock_cmd = "pidof swaylock || swaylock";
|
||||||
|
before_sleep_cmd = "loginctl lock-session";
|
||||||
|
};
|
||||||
|
listener = [
|
||||||
|
{
|
||||||
|
timeout = 150;
|
||||||
|
on-timeout = "${pkgs.brightnessctl}/bin/brightnessctl -s set 0";
|
||||||
|
on-resume = "${pkgs.brightnessctl}/bin/brightnessctl -r";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
timeout = 150;
|
||||||
|
on-timeout = "${pkgs.brightnessctl}/bin/brightnessctl -sd rgb:kbd_backlight set 0";
|
||||||
|
on-resume = "${pkgs.brightnessctl}/bin/brightnessctl -rd rgb:kbd_backlight";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
timeout = 300;
|
||||||
|
on-timeout = "systemctl suspend";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
18
home/modules/hypr/idle/default.nix
Executable file
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
flake,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
configPath = ./config;
|
||||||
|
settingsPath = import (configPath + /settings.nix) {
|
||||||
|
inherit
|
||||||
|
pkgs
|
||||||
|
;
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
services.hypridle = {
|
||||||
|
enable = true;
|
||||||
|
package = flake.inputs.hypridle.packages.${pkgs.system}.hypridle;
|
||||||
|
settings = settingsPath;
|
||||||
|
};
|
||||||
|
}
|
18
home/modules/hypr/land/config/animations.nix
Executable file
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
enabled = true;
|
||||||
|
animation = [
|
||||||
|
"border, 1, 2.2, bounce"
|
||||||
|
"fadeIn, 1, 1, bounce"
|
||||||
|
"fadeOut, 1, 4.5, bounce"
|
||||||
|
"fadeSwitch, 1, 2.2, bounce"
|
||||||
|
"windows, 1, 2.2, bounce"
|
||||||
|
"windowsOut, 1, 1.1, bounce"
|
||||||
|
"workspaces, 1, 2.2, bounce, slide"
|
||||||
|
];
|
||||||
|
bezier = [
|
||||||
|
"wind, 0, 1, 0.5, 1"
|
||||||
|
"winIn, 0, 0.5, 0, 1"
|
||||||
|
"winOut, 0, 0.5, 0, 1"
|
||||||
|
"bounce, 0.7, 1.7, 0.5, 1"
|
||||||
|
];
|
||||||
|
}
|
|
@ -45,8 +45,7 @@ let
|
||||||
|
|
||||||
superShiftBinds = builtins.map (x: "SUPER SHIFT, " + x) [
|
superShiftBinds = builtins.map (x: "SUPER SHIFT, " + x) [
|
||||||
# Super+shift binds
|
# Super+shift binds
|
||||||
"S, exec, hyprshot -m region"
|
"S, exec, flameshot gui"
|
||||||
"W, exec, hyprshot -m window"
|
|
||||||
"Print, exec, grim -g \"$(slurp)\""
|
"Print, exec, grim -g \"$(slurp)\""
|
||||||
"ScrollDown, workspace, previous"
|
"ScrollDown, workspace, previous"
|
||||||
"left , movewindow, l"
|
"left , movewindow, l"
|
4
home/modules/hypr/land/config/bindl.nix
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
[
|
||||||
|
",switch:on:Lid Switch, exec, hyprlock --immediate"
|
||||||
|
",switch:off:Lid Switch, exec, hyprlock --immediate"
|
||||||
|
]
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
active_opacity = 0.95;
|
active_opacity = 0.95;
|
||||||
inactive_opacity = 0.95;
|
inactive_opacity = 0.90;
|
||||||
fullscreen_opacity = 1;
|
fullscreen_opacity = 1;
|
||||||
rounding = 10;
|
rounding = 10;
|
||||||
dim_inactive = 1;
|
dim_inactive = 1;
|
|
@ -11,6 +11,7 @@
|
||||||
"easyeffects"
|
"easyeffects"
|
||||||
"pkill easyeffects"
|
"pkill easyeffects"
|
||||||
"emote"
|
"emote"
|
||||||
|
"flameshot"
|
||||||
"sgsettings set org.gnome.desktop.interface cursor-theme 'catppuccin-mocha-dark-cursors'"
|
"sgsettings set org.gnome.desktop.interface cursor-theme 'catppuccin-mocha-dark-cursors'"
|
||||||
"gsettings set org.gnome.desktop.interface cursor-size 18"
|
"gsettings set org.gnome.desktop.interface cursor-size 18"
|
||||||
]
|
]
|
|
@ -4,6 +4,7 @@ let
|
||||||
nomacs = "(org.nomacs.ImageLounge)";
|
nomacs = "(org.nomacs.ImageLounge)";
|
||||||
mpv = "(mpv)";
|
mpv = "(mpv)";
|
||||||
emote = "(emote)";
|
emote = "(emote)";
|
||||||
|
flameshot = "(flameshot)";
|
||||||
|
|
||||||
maxsizeWindows = [
|
maxsizeWindows = [
|
||||||
"maxsize 640 640, class:^${blueman}$"
|
"maxsize 640 640, class:^${blueman}$"
|
||||||
|
@ -17,6 +18,7 @@ let
|
||||||
"class:${emote}"
|
"class:${emote}"
|
||||||
"class:${mpv}"
|
"class:${mpv}"
|
||||||
"class:${nomacs}"
|
"class:${nomacs}"
|
||||||
|
"class:${flameshot}"
|
||||||
"title:^(Picture-in-Picture)$"
|
"title:^(Picture-in-Picture)$"
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,11 +1,15 @@
|
||||||
{pkgs, ...}: let
|
{
|
||||||
|
pkgs,
|
||||||
|
flake,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
configPath = ./config;
|
configPath = ./config;
|
||||||
configImports = {
|
configImports = {
|
||||||
animation = import (configPath + /animation.nix);
|
animations = import (configPath + /animations.nix);
|
||||||
bezier = import (configPath + /bezier.nix);
|
|
||||||
bind = import (configPath + /bind.nix);
|
bind = import (configPath + /bind.nix);
|
||||||
bindm = import (configPath + /bindm.nix);
|
bindm = import (configPath + /bindm.nix);
|
||||||
binds = import (configPath + /binds.nix);
|
binds = import (configPath + /binds.nix);
|
||||||
|
bindl = import (configPath + /bindl.nix);
|
||||||
decoration = import (configPath + /decoration.nix);
|
decoration = import (configPath + /decoration.nix);
|
||||||
dwindle = import (configPath + /dwindle.nix);
|
dwindle = import (configPath + /dwindle.nix);
|
||||||
exec-once = import (configPath + /exec-once.nix);
|
exec-once = import (configPath + /exec-once.nix);
|
||||||
|
@ -18,10 +22,9 @@
|
||||||
in {
|
in {
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
package = flake.inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
systemd.enable = false;
|
systemd.enable = false;
|
||||||
settings = configImports;
|
settings = configImports;
|
||||||
};
|
};
|
||||||
xdg.configFile."wpaperd/wallpaper.toml".source = pkgs.lib.mkForce ./wpaperd/wallpaper.toml;
|
|
||||||
}
|
}
|
18
home/modules/hypr/wpaperd/default.nix
Executable file
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
flake,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.wpaperd = {
|
||||||
|
enable = true;
|
||||||
|
package = flake.inputs.wpaperd.packages.${pkgs.system}.default;
|
||||||
|
settings = {
|
||||||
|
"default" = {
|
||||||
|
path = "~/Files/Projects/dotfiles/home/modules/hypr/wpaperd/wallpaper";
|
||||||
|
apply-shadow = true;
|
||||||
|
duration = "1m";
|
||||||
|
sorting = "random";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Before Width: | Height: | Size: 4.2 MiB After Width: | Height: | Size: 4.2 MiB |
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 2.1 MiB |
Before Width: | Height: | Size: 2 MiB After Width: | Height: | Size: 2 MiB |
Before Width: | Height: | Size: 4.2 MiB After Width: | Height: | Size: 4.2 MiB |
Before Width: | Height: | Size: 3.3 MiB After Width: | Height: | Size: 3.3 MiB |
Before Width: | Height: | Size: 3.9 MiB After Width: | Height: | Size: 3.9 MiB |
Before Width: | Height: | Size: 3.5 MiB After Width: | Height: | Size: 3.5 MiB |
Before Width: | Height: | Size: 2.6 MiB After Width: | Height: | Size: 2.6 MiB |
Before Width: | Height: | Size: 2.7 MiB After Width: | Height: | Size: 2.7 MiB |
Before Width: | Height: | Size: 3.9 MiB After Width: | Height: | Size: 3.9 MiB |
Before Width: | Height: | Size: 3.5 MiB After Width: | Height: | Size: 3.5 MiB |
Before Width: | Height: | Size: 578 KiB After Width: | Height: | Size: 578 KiB |
Before Width: | Height: | Size: 201 KiB After Width: | Height: | Size: 201 KiB |
Before Width: | Height: | Size: 808 KiB After Width: | Height: | Size: 808 KiB |
Before Width: | Height: | Size: 578 KiB After Width: | Height: | Size: 578 KiB |
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
Before Width: | Height: | Size: 3.3 MiB After Width: | Height: | Size: 3.3 MiB |
Before Width: | Height: | Size: 5.1 MiB After Width: | Height: | Size: 5.1 MiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 3.5 MiB After Width: | Height: | Size: 3.5 MiB |
Before Width: | Height: | Size: 632 KiB After Width: | Height: | Size: 632 KiB |
Before Width: | Height: | Size: 302 KiB After Width: | Height: | Size: 302 KiB |
Before Width: | Height: | Size: 8.2 MiB After Width: | Height: | Size: 8.2 MiB |
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 3.3 MiB After Width: | Height: | Size: 3.3 MiB |
Before Width: | Height: | Size: 833 KiB After Width: | Height: | Size: 833 KiB |
Before Width: | Height: | Size: 467 KiB After Width: | Height: | Size: 467 KiB |
Before Width: | Height: | Size: 2 MiB After Width: | Height: | Size: 2 MiB |
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 1.8 MiB |
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 1.6 MiB |
Before Width: | Height: | Size: 257 KiB After Width: | Height: | Size: 257 KiB |
Before Width: | Height: | Size: 261 KiB After Width: | Height: | Size: 261 KiB |
Before Width: | Height: | Size: 144 KiB After Width: | Height: | Size: 144 KiB |
Before Width: | Height: | Size: 501 KiB After Width: | Height: | Size: 501 KiB |
Before Width: | Height: | Size: 252 KiB After Width: | Height: | Size: 252 KiB |
Before Width: | Height: | Size: 646 KiB After Width: | Height: | Size: 646 KiB |
Before Width: | Height: | Size: 422 KiB After Width: | Height: | Size: 422 KiB |
Before Width: | Height: | Size: 552 KiB After Width: | Height: | Size: 552 KiB |
Before Width: | Height: | Size: 366 KiB After Width: | Height: | Size: 366 KiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 747 KiB After Width: | Height: | Size: 747 KiB |
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
Before Width: | Height: | Size: 665 KiB After Width: | Height: | Size: 665 KiB |
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 1.8 MiB |
Before Width: | Height: | Size: 464 KiB After Width: | Height: | Size: 464 KiB |
Before Width: | Height: | Size: 869 KiB After Width: | Height: | Size: 869 KiB |
Before Width: | Height: | Size: 302 KiB After Width: | Height: | Size: 302 KiB |
Before Width: | Height: | Size: 457 KiB After Width: | Height: | Size: 457 KiB |
Before Width: | Height: | Size: 876 KiB After Width: | Height: | Size: 876 KiB |
Before Width: | Height: | Size: 529 KiB After Width: | Height: | Size: 529 KiB |
Before Width: | Height: | Size: 258 KiB After Width: | Height: | Size: 258 KiB |
Before Width: | Height: | Size: 568 KiB After Width: | Height: | Size: 568 KiB |
Before Width: | Height: | Size: 323 KiB After Width: | Height: | Size: 323 KiB |
Before Width: | Height: | Size: 720 KiB After Width: | Height: | Size: 720 KiB |
Before Width: | Height: | Size: 185 KiB After Width: | Height: | Size: 185 KiB |
Before Width: | Height: | Size: 289 KiB After Width: | Height: | Size: 289 KiB |
Before Width: | Height: | Size: 405 KiB After Width: | Height: | Size: 405 KiB |
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 1.6 MiB |
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 1.6 MiB |
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 1.6 MiB |
Before Width: | Height: | Size: 4.1 MiB After Width: | Height: | Size: 4.1 MiB |
Before Width: | Height: | Size: 787 KiB After Width: | Height: | Size: 787 KiB |
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
|
@ -1,9 +0,0 @@
|
||||||
[
|
|
||||||
"border, 1, 2.2, bounce"
|
|
||||||
"fadeIn, 1, 0.1, bounce"
|
|
||||||
"fadeOut, 1, 4.5, bounce"
|
|
||||||
"fadeSwitch, 1, 2.2, bounce"
|
|
||||||
"windows, 1, 2.2, bounce"
|
|
||||||
"windowsOut, 1, 1.1, bounce"
|
|
||||||
"workspaces, 1, 2.2, bounce, slide"
|
|
||||||
]
|
|
|
@ -1,6 +0,0 @@
|
||||||
[
|
|
||||||
"wind, 0, 1, 0.5, 1"
|
|
||||||
"winIn, 0, 0.5, 0, 1"
|
|
||||||
"winOut, 0, 0.5, 0, 1"
|
|
||||||
"bounce, 0.7, 1.7, 0.5, 1"
|
|
||||||
]
|
|
|
@ -1,5 +0,0 @@
|
||||||
[default]
|
|
||||||
path = "~/Files/Projects/dotfiles/home/modules/hyprland/wpaperd/wallpaper"
|
|
||||||
duration = "1m"
|
|
||||||
sorting = "random"
|
|
||||||
apply-shadow = false
|
|
|
@ -4,10 +4,9 @@
|
||||||
(pkgs)
|
(pkgs)
|
||||||
alsa-utils
|
alsa-utils
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
wpaperd
|
|
||||||
swaylock
|
swaylock
|
||||||
playerctl
|
playerctl
|
||||||
hyprshot
|
brightnessctl
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
{flake, ...}: let
|
{
|
||||||
|
flake,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
configPath = ./config;
|
configPath = ./config;
|
||||||
settingsPath = import (configPath + /settings.nix);
|
settingsPath = import (configPath + /settings.nix);
|
||||||
stylePath = import (configPath + /style.nix) {
|
stylePath = import (configPath + /style.nix) {
|
||||||
|
@ -9,6 +13,7 @@
|
||||||
in {
|
in {
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = flake.inputs.waybar.packages.${pkgs.system}.default;
|
||||||
settings = settingsPath;
|
settings = settingsPath;
|
||||||
style = stylePath;
|
style = stylePath;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,10 +1,15 @@
|
||||||
{
|
{
|
||||||
|
flake,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
programs.yazi = let
|
programs.yazi = let
|
||||||
configPath = ./config;
|
configPath = ./config;
|
||||||
keymapPath = import (configPath + /keymap.nix);
|
keymapPath = import (configPath + /keymap.nix);
|
||||||
settingsPath = import (configPath + /settings.nix);
|
settingsPath = import (configPath + /settings.nix);
|
||||||
in {
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
# package = flake.inputs.yazi.packages.${pkgs.system}.yazi;
|
||||||
enableNushellIntegration = true;
|
enableNushellIntegration = true;
|
||||||
keymap = keymapPath;
|
keymap = keymapPath;
|
||||||
settings = settingsPath;
|
settings = settingsPath;
|
||||||
|
|
|
@ -75,11 +75,6 @@ in {
|
||||||
inherit
|
inherit
|
||||||
(modules)
|
(modules)
|
||||||
hyprland
|
hyprland
|
||||||
geoclue2
|
|
||||||
greetd
|
|
||||||
swaylock
|
|
||||||
thunar
|
|
||||||
wayland
|
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
inherit
|
inherit
|
||||||
(pkgs)
|
(pkgs)
|
||||||
git
|
git
|
||||||
|
grim
|
||||||
pijul
|
pijul
|
||||||
sshfs
|
sshfs
|
||||||
tomb
|
tomb
|
||||||
|
@ -19,6 +20,10 @@
|
||||||
WLR_DRM_NO_ATOMIC = "1";
|
WLR_DRM_NO_ATOMIC = "1";
|
||||||
NIXPKGS_ALLOW_INSECURE = "1";
|
NIXPKGS_ALLOW_INSECURE = "1";
|
||||||
NIXPKGS_ALLOW_UNFREE = "1";
|
NIXPKGS_ALLOW_UNFREE = "1";
|
||||||
|
FLAMESHOT_ENABLE_WAYLAND = "1";
|
||||||
|
USE_WAYLAND_GRIM = "1";
|
||||||
|
USE_WAYLAND_CLIPBOARD = "1";
|
||||||
|
GTK_THEME = "catppuccin-macchiato-mauve-compact";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
{
|
|
||||||
pkgs,
|
|
||||||
inputs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.hyprland = {
|
|
||||||
enable = true;
|
|
||||||
xwayland.enable = true;
|
|
||||||
# package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
|
||||||
};
|
|
||||||
xdg.portal = {
|
|
||||||
enable = true;
|
|
||||||
extraPortals = [
|
|
||||||
pkgs.xdg-desktop-portal-gtk
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|