summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/hypr/hyprland.conf4
-rw-r--r--configuration.nix4
-rw-r--r--desktop.nix4
-rw-r--r--home.nix5
4 files changed, 10 insertions, 7 deletions
diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf
index d25cdc5..ff7a4a6 100644
--- a/config/hypr/hyprland.conf
+++ b/config/hypr/hyprland.conf
@@ -1,7 +1,7 @@
monitor=eDP-1,1920x1080@60,0x0,1
monitor=HDMI-A-1,2560x1440@60,-2560x-350,1
-exec-once = waybar & hyprpaper & dunst & /nix/store/$(ls -la /nix/store | grep 'polkit-gnome' | grep 4096 | awk '{print $9}' | sed -n '$p')/libexec/polkit-gnome-authentication-agent-1 & blueman-applet & nm-applet
+exec-once = hyprpaper & waybar & dunst & /nix/store/$(ls -la /nix/store | grep 'polkit-gnome' | grep 4096 | awk '{print $9}' | sed -n '$p')/libexec/polkit-gnome-authentication-agent-1 & blueman-applet & nm-applet
xwayland {
force_zero_scaling = true
@@ -67,7 +67,7 @@ bind = SUPER, E, exec, dolphin
bind = SUPER SHIFT, F, togglefloating
bind = SUPER, F, fullscreen, 1
bind = SUPER, SPACE, exec, pkill fuzzel || fuzzel
-bind = SUPER, X, exec, waylock
+bind = SUPER, X, exec, swaylock
bind = SUPER, RETURN, layoutmsg, swapwithmaster master
bind = SUPER SHIFT, J, layoutmsg, swapnext
diff --git a/configuration.nix b/configuration.nix
index d27eca6..9c0e07d 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -19,7 +19,7 @@
fuzzel
dunst
hyprpaper
- waylock
+ swaylock
networkmanagerapplet
@@ -29,6 +29,8 @@
libnotify
libappindicator
+
+ cudatoolkit
];
system.stateVersion = "23.11";
diff --git a/desktop.nix b/desktop.nix
index 36b3a1a..ab00242 100644
--- a/desktop.nix
+++ b/desktop.nix
@@ -6,7 +6,7 @@
xwayland.enable = true;
};
xdg.portal.enable = true;
- xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-wlr ];
+ xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-hyprland ];
environment.sessionVariables = {
NIXOS_OZONE_WL = "1";
@@ -56,7 +56,7 @@
};
security.polkit.enable = true;
- security.pam.services.waylock.text = ''
+ security.pam.services.swaylock.text = ''
auth include login
'';
diff --git a/home.nix b/home.nix
index 324cc6d..d93de84 100644
--- a/home.nix
+++ b/home.nix
@@ -41,13 +41,14 @@ in
enable = true;
initExtra= ''
export PS1="\[\e[38;5;243m\]\h \[\e[38;5;254m\]\w \[\033[0m\]> "
+ set -o vi
if [[ -n "$IN_NIX_SHELL" ]]; then
export PS1="\[\e[38;5;242m\](dev) $PS1"
fi
sessionizer() {
- DIR=$(fd . $HOME --type d -L -H | fzf)
+ DIR=$(fd . /data --type d -L -H | fzf)
SESSION_NAME="$DIR_$(date +%M%S)"
if [ -n "$DIR" ]
@@ -73,7 +74,7 @@ in
fi
bind '"\C-f": "sessionizer\n"'
- bind '"\C-F": "sessionizer -cd\n"'
+ bind '"\C-a": "sessionizer -cd\n"'
'';
};