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