mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-04-02 02:00:51 +02:00
feat: added swaylock
This commit is contained in:
parent
dbc79339e3
commit
596c4ab78d
2 changed files with 26 additions and 2 deletions
|
@ -21,6 +21,7 @@ with lib;
|
||||||
xdg.configFile."hypr/hyprland.conf".text = ''
|
xdg.configFile."hypr/hyprland.conf".text = ''
|
||||||
exec-once = waybar & hyprpaper
|
exec-once = waybar & hyprpaper
|
||||||
exec-once=dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY
|
exec-once=dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY
|
||||||
|
exec-once = nm-applet --indicator
|
||||||
# Monitors
|
# Monitors
|
||||||
monitor = eDP-1, preferred, auto, auto
|
monitor = eDP-1, preferred, auto, auto
|
||||||
|
|
||||||
|
@ -71,7 +72,7 @@ with lib;
|
||||||
# Gestures
|
# Gestures
|
||||||
gestures {
|
gestures {
|
||||||
workspace_swipe = true
|
workspace_swipe = true
|
||||||
workspace_swipe_fingers = 3
|
workspace_swipe_fingers = 4
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -161,7 +162,9 @@ with lib;
|
||||||
wallpaper = ,${../../machines/macintosh/wallpaper.jpg}
|
wallpaper = ,${../../machines/macintosh/wallpaper.jpg}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
home.packages = with pkgs; [ qt6.qtwayland libsForQt5.qt5.qtwayland hyprpaper ];
|
|
||||||
|
|
||||||
|
home.packages = with pkgs; [ qt6.qtwayland libsForQt5.qt5.qtwayland hyprpaper swaylock ];
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -82,8 +82,29 @@
|
||||||
# for a WiFi printer
|
# for a WiFi printer
|
||||||
services.avahi.openFirewall = true;
|
services.avahi.openFirewall = true;
|
||||||
|
|
||||||
|
services.davfs2 = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
security.pam.services.swaylock = { };
|
||||||
|
|
||||||
|
services.autofs = {
|
||||||
|
enable = true;
|
||||||
|
debug = true;
|
||||||
|
autoMaster =
|
||||||
|
let
|
||||||
|
mapConf = pkgs.writeText "auto" ''
|
||||||
|
nuage -fstype=davfs,uid=1000,file_mode=600,dir_mode=700,conf=/home/julien/.davfs2/davfs2.conf,rw :https\://nuage.malka.family/remote.php/webdav/
|
||||||
|
'';
|
||||||
|
in
|
||||||
|
''
|
||||||
|
/home/julien/clouds file:${mapConf}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
system.stateVersion = "23.05"; # Did you read the comment?
|
system.stateVersion = "23.05"; # Did you read the comment?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue