setup xss-lock and i3lock as lockscreen
This commit is contained in:
parent
7e7be20baa
commit
fb5e940be1
|
@ -74,10 +74,10 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
|
||||||
# $ nix search wget
|
|
||||||
# allow non-free packages
|
# allow non-free packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
# enable garbage collection
|
||||||
nix.gc = {
|
nix.gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
|
@ -88,14 +88,23 @@
|
||||||
programs.steam.enable = true;
|
programs.steam.enable = true;
|
||||||
hardware.steam-hardware.enable = true;
|
hardware.steam-hardware.enable = true;
|
||||||
|
|
||||||
|
# enable lockscreen
|
||||||
|
|
||||||
|
programs.xss-lock = {
|
||||||
|
enable = true;
|
||||||
|
lockerCommand = "i3lock -c 000000";
|
||||||
|
};
|
||||||
|
|
||||||
environment.shellAliases = {
|
environment.shellAliases = {
|
||||||
nix-generations = "sudo nix-env --list-generations --profile /nix/var/nix/profiles/system";
|
nix-generations = "sudo nix-env --list-generations --profile /nix/var/nix/profiles/system";
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
EDITOR = "vim";
|
EDITOR = "vim";
|
||||||
HIGHLIGHT_STYLE = "solarized-light";
|
HIGHLIGHT_STYLE = "solarized-light";
|
||||||
ZWEILI_ENVIRONMENT = "desktop";
|
ZWEILI_ENVIRONMENT = "desktop";
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
arc-theme
|
arc-theme
|
||||||
celluloid
|
celluloid
|
||||||
|
@ -103,6 +112,7 @@
|
||||||
git
|
git
|
||||||
highlight
|
highlight
|
||||||
htop
|
htop
|
||||||
|
i3lock
|
||||||
lxappearance
|
lxappearance
|
||||||
ncdu
|
ncdu
|
||||||
nitrogen
|
nitrogen
|
||||||
|
|
Loading…
Reference in New Issue