Compare commits
6 commits
d1646912ae
...
4cfbad9f03
Author | SHA1 | Date | |
---|---|---|---|
Tigor Hutasuhut | 4cfbad9f03 | ||
Tigor Hutasuhut | 270f9c12bf | ||
Tigor Hutasuhut | f0212ed48f | ||
Tigor Hutasuhut | d8b3288d20 | ||
Tigor Hutasuhut | 387ba54876 | ||
Tigor Hutasuhut | 83dfab90ec |
|
@ -17,10 +17,9 @@ in
|
|||
];
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
systemd.variables = [ "all" ];
|
||||
systemd.variables = [ "--all" ];
|
||||
settings = {
|
||||
env = [ "DBUS_SESSION_BUS_ADDRESS,unix:path=/run/user/${toString config.profile.user.uid}/bus" ];
|
||||
exec-once = lib.mkOrder 5 [ ''${pkgs.dbus}/bin/dbus-update-activation-environment --all'' ];
|
||||
# window decors
|
||||
general = {
|
||||
gaps_in = 10;
|
||||
|
|
|
@ -21,8 +21,8 @@ in
|
|||
positionY = "top";
|
||||
fit-to-screen = false;
|
||||
control-center-height = 800;
|
||||
timeout = 5;
|
||||
timeout-low = 3;
|
||||
timeout = 7;
|
||||
timeout-low = 5;
|
||||
|
||||
scripts = {
|
||||
_10-hyprland-ytptube = {
|
||||
|
|
|
@ -163,7 +163,7 @@ in
|
|||
rofi-wayland
|
||||
];
|
||||
wayland.windowManager.hyprland.settings.exec-once = [
|
||||
"sleep 1 && waybar"
|
||||
"sleep 2 && waybar"
|
||||
"wl-paste --watch cliphist store"
|
||||
];
|
||||
programs.waybar = {
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
unstable,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
@ -24,7 +23,6 @@ in
|
|||
programs.go = {
|
||||
enable = true;
|
||||
goPrivate = [ "gitlab.bareksa.com" ];
|
||||
package = unstable.go_1_23;
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
gotools
|
||||
|
@ -33,7 +31,7 @@ in
|
|||
gomodifytags
|
||||
gotests
|
||||
iferr
|
||||
unstable.gopls
|
||||
gopls
|
||||
gofumpt
|
||||
impl
|
||||
golangci-lint
|
||||
|
|
|
@ -22,7 +22,7 @@ in
|
|||
|
||||
services.swaync.settings.scripts._10-slack = {
|
||||
app-name = "[Ss]lack";
|
||||
exec = "hyprctl dispatch focuswindow $SWAYNC_APP_NAME";
|
||||
exec = "hyprctl dispatch focuswindow Slack";
|
||||
run-on = "action";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -87,12 +87,14 @@ in
|
|||
vt = 5;
|
||||
};
|
||||
default_session = {
|
||||
command = ''tuigreet --remember --cmd "dbus-run-session Hyprland"'';
|
||||
command = ''tuigreet --remember --cmd "Hyprland"'';
|
||||
user = "tigor";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
boot.kernelParams = [ "console=tty1" ];
|
||||
|
||||
services.displayManager.sddm = lib.mkIf (cfg.displayManager == "sddm") {
|
||||
enable = true;
|
||||
wayland.enable = true;
|
||||
|
|
|
@ -57,8 +57,12 @@ lib.mkMerge [
|
|||
|
||||
systemd.user.services.ntfy-client = {
|
||||
enable = true;
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network.target" ];
|
||||
wantedBy = [ "default.target" ];
|
||||
after = [
|
||||
"network.target"
|
||||
"dbus.socket"
|
||||
];
|
||||
requires = [ "dbus.socket" ];
|
||||
environment = {
|
||||
DISPLAY = ":0";
|
||||
DBUS_SESSION_BUS_ADDRESS = "unix:path=/run/user/${toString config.profile.user.uid}/bus";
|
||||
|
|
Loading…
Reference in a new issue