modules: move swayidle + greetd

This commit is contained in:
notohh 2024-01-22 03:47:39 -05:00
parent b6a57bce5e
commit f564fcf3b4
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 0 additions and 27 deletions

View file

@ -7,12 +7,10 @@ name | description
`prometheus` | has default prometheus config for all hosts, along with exporters for select hosts
`default` | used for commonly shared modules
`fonts` | font handling
`greetd` | login manager
`nix` | common nix configuration
`openssh` | configures openssh options
`security` | stolen from [hlissner](https://github.com/hlissner)
`sops` | configures sops-nix
`swayidle` | idle manager daemon
`system` | commonly shared system settings
`time` | force sets the time on all systems
`users` | defines all hosts users & groups

View file

@ -1,12 +0,0 @@
_: {
services.greetd = {
enable = true;
settings = rec {
initial_session = {
command = "Hyprland";
user = "notoh";
};
default_session = initial_session;
};
};
}

View file

@ -1,13 +0,0 @@
_: {
home.file.".local/bin/lock" = {
executable = true;
text = ''
swayidle -w \
timeout 500 'swaylock -f --image ~/Pictures/wallpapers/mumei.png --clock --grace 5 --ring-color f5c2e7 --inside-color 1e1e2e --line-color 11111b' \
timeout 600 'hyprctl dispatch dpms off' \
resume 'hyprctl dispatch dpms on' \
before-sleep 'swaylock -f --image ~/Picture/wallpapers/mumei.png --clock --ring-color f5c2e7 --inside-color 1e1e2e --line-color 11111b' \
after-resume 'ironbar reload'
'';
};
}