Temporary lockscreen fix
This commit is contained in:
parent
c320c81553
commit
c7df83869f
4 changed files with 50 additions and 2 deletions
38
fstab
Normal file
38
fstab
Normal file
|
|
@ -0,0 +1,38 @@
|
||||||
|
# Static information about the filesystems.
|
||||||
|
# See fstab(5) for details.
|
||||||
|
|
||||||
|
# <file system> <dir> <type> <options> <dump> <pass>
|
||||||
|
# /dev/nvme0n1p3 @root
|
||||||
|
UUID=9b9ae9dd-d889-4457-a7a5-02895db5f213 / btrfs rw,relatime,ssd,space_cache,compress=lzo,subvolid=256,subvol=/@root,subvol=@root 0 0
|
||||||
|
|
||||||
|
# /dev/nvme0n1p1
|
||||||
|
UUID=2D5C-D6EA /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 2
|
||||||
|
|
||||||
|
# /dev/nvme0n1p2
|
||||||
|
UUID=c35f5ed9-5dc6-4924-9e85-da2eedf833f3 none swap defaults 0 0
|
||||||
|
|
||||||
|
# /dev/nvme0n1p3 @opt
|
||||||
|
UUID=9b9ae9dd-d889-4457-a7a5-02895db5f213 /opt btrfs rw,relatime,ssd,space_cache,compress=lzo,subvol=/@opt,subvol=@opt 0 0
|
||||||
|
|
||||||
|
# /dev/sda1 @bertof
|
||||||
|
UUID=9b9ae9dd-d889-4457-a7a5-02895db5f213 /home/bertof btrfs rw,relatime,space_cache,compress=lzo,subvolid=33741,subvol=/@bertof,subvol=@bertof 0 0
|
||||||
|
|
||||||
|
# /dev/sda1 @bertof_images
|
||||||
|
UUID=70fc256d-6782-415a-af59-65e6c059194e /home/bertof/Immagini btrfs rw,relatime,space_cache,compress=lzo,subvol=/@bertof_images,subvol=@bertof_images,x-gvfs-hide 0 0
|
||||||
|
|
||||||
|
# /dev/sda1 @bertof_videos
|
||||||
|
UUID=70fc256d-6782-415a-af59-65e6c059194e /home/bertof/Video btrfs rw,relatime,space_cache,compress=lzo,subvol=/@bertof_videos,subvol=@bertof_videos,x-gvfs-hide 0 0
|
||||||
|
|
||||||
|
# /dev/sda1 @bertof_music
|
||||||
|
UUID=70fc256d-6782-415a-af59-65e6c059194e /home/bertof/Musica btrfs rw,relatime,space_cache,compress=lzo,subvol=/@bertof_music,subvol=@bertof_music,x-gvfs-hide 0 0
|
||||||
|
|
||||||
|
# /dev/sda1 @bertof_downloads
|
||||||
|
UUID=70fc256d-6782-415a-af59-65e6c059194e /home/bertof/Scaricati btrfs rw,relatime,space_cache,compress=lzo,subvol=/@bertof_downloads,subvol=@bertof_downloads,x-gvfs-hide 0 0
|
||||||
|
|
||||||
|
# /dev/nvme0n1p3 @games
|
||||||
|
UUID=9b9ae9dd-d889-4457-a7a5-02895db5f213 /home/bertof/Giochi/SSD btrfs rw,relatime,ssd,space_cache,compress=lzo,subvol=/@games,subvol=@games,x-gvfs-hide 0 0
|
||||||
|
|
||||||
|
# /dev/sda1 @games
|
||||||
|
UUID=70fc256d-6782-415a-af59-65e6c059194e /home/bertof/Giochi/HDD btrfs rw,relatime,ssd,space_cache,compress=lzo,subvol=/@games,subvol=@games,x-gvfs-hide 0 0
|
||||||
|
|
||||||
|
|
||||||
1
home.nix
1
home.nix
|
|
@ -38,6 +38,7 @@ in {
|
||||||
./modules/kakoune.nix
|
./modules/kakoune.nix
|
||||||
./modules/qogir_theme.nix
|
./modules/qogir_theme.nix
|
||||||
./modules/rofi.nix
|
./modules/rofi.nix
|
||||||
|
./modules/screen_locker.nix
|
||||||
./modules/sxhkd.nix
|
./modules/sxhkd.nix
|
||||||
./modules/terminator.nix
|
./modules/terminator.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
9
modules/screen_locker.nix
Normal file
9
modules/screen_locker.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
# home.packages = [ pkgs.betterlockscreen ];
|
||||||
|
services.screen-locker = {
|
||||||
|
enable = true;
|
||||||
|
lockCmd = "/usr/bin/betterlockscreen -l";
|
||||||
|
inactiveInterval = 5; # miutes
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
terminator
|
terminator
|
||||||
rofi
|
rofi
|
||||||
bash
|
bash
|
||||||
betterlockscreen
|
# betterlockscreen
|
||||||
];
|
];
|
||||||
|
|
||||||
services.sxhkd = let
|
services.sxhkd = let
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
terminator= "${pkgs.terminator}/bin/terminator";
|
terminator= "${pkgs.terminator}/bin/terminator";
|
||||||
rofi = "${pkgs.rofi}/bin/rofi";
|
rofi = "${pkgs.rofi}/bin/rofi";
|
||||||
bash = "${pkgs.bash}/bin/bash";
|
bash = "${pkgs.bash}/bin/bash";
|
||||||
betterlockscreen = "${pkgs.betterlockscreen}/bin/betterlockscreen";
|
betterlockscreen = "/usr/bin/betterlockscreen";
|
||||||
in {
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
keybindings = {
|
keybindings = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue