summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configuration.nix4
-rw-r--r--flake.lock18
-rwxr-xr-xhome.nix13
-rwxr-xr-xmango/config.conf1
4 files changed, 19 insertions, 17 deletions
diff --git a/configuration.nix b/configuration.nix
index d3606f0..9262dce 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -73,7 +73,7 @@
nixpkgs.config.allowUnfree = true;
- security.pam.services.swaylock = {};
+ security.pam.services.swaylock = { };
services.tailscale.enable = true;
services.blueman.enable = true;
services.logind.settings.Login = {
@@ -186,7 +186,7 @@
programs.virt-manager.enable = true;
programs.nix-ld.enable = true;
programs.mango.enable = true;
- programs.mango.addLoginEntry = true;
+ # programs.mango.addLoginEntry = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
diff --git a/flake.lock b/flake.lock
index a9a72cf..ea705bf 100644
--- a/flake.lock
+++ b/flake.lock
@@ -45,11 +45,11 @@
]
},
"locked": {
- "lastModified": 1772164835,
- "narHash": "sha256-zRcwrZDeBfYipqv/7K7TqsfPb87LFU6b7JhoNUGSnvQ=",
+ "lastModified": 1774210133,
+ "narHash": "sha256-yeiWCY9aAUUJ3ebMVjs0UZXRnT5x90MCtpbpOWiXrvM=",
"owner": "nix-community",
"repo": "home-manager",
- "rev": "2a39b0828bbffce0d73769a61e46e780488d098b",
+ "rev": "c6fe2944ad9f2444b2d767c4a5edee7c166e8a95",
"type": "github"
},
"original": {
@@ -67,11 +67,11 @@
"scenefx": "scenefx"
},
"locked": {
- "lastModified": 1772119371,
- "narHash": "sha256-kp3hyXicSV9q1DmeAYpIYKvX3sj7kmKSZP0yb/n5I9k=",
+ "lastModified": 1774235098,
+ "narHash": "sha256-iePZw7P4s2S7/gpIfTz8HY6sIuohcE5kR2MOd5qsS9Y=",
"owner": "DreamMaoMao",
"repo": "mangowc",
- "rev": "835269f86bf8d1f1e05b386a6a548e7c7cae1547",
+ "rev": "d967153c7340780f54ee3861f526143d91807cb0",
"type": "github"
},
"original": {
@@ -82,11 +82,11 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1771848320,
- "narHash": "sha256-0MAd+0mun3K/Ns8JATeHT1sX28faLII5hVLq0L3BdZU=",
+ "lastModified": 1774106199,
+ "narHash": "sha256-US5Tda2sKmjrg2lNHQL3jRQ6p96cgfWh3J1QBliQ8Ws=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "2fc6539b481e1d2569f25f8799236694180c0993",
+ "rev": "6c9a78c09ff4d6c21d0319114873508a6ec01655",
"type": "github"
},
"original": {
diff --git a/home.nix b/home.nix
index fc6848d..13115e5 100755
--- a/home.nix
+++ b/home.nix
@@ -28,6 +28,7 @@ let
in
{
programs.swaylock = {
+ package = pkgs.swaylock-effects;
enable = true;
settings = {
font-size = 24;
@@ -38,7 +39,7 @@ in
services.swayidle =
let
# Lock command
- lock = "${pkgs.swaylock}/bin/swaylock --daemonize";
+ lock = "${pkgs.swaylock}/bin/swaylock --daemonize --image /home/anand/dots/walls/lock.jpeg --clock";
suspend = "systemctl suspend";
in
{
@@ -58,11 +59,11 @@ in
}
];
events = [
- # {
- # event = "before-sleep";
- # # adding duplicated entries for the same event may not work
- # command = (display "off") + "; " + lock;
- # }
+ {
+ event = "before-sleep";
+ # adding duplicated entries for the same event may not work
+ command = lock;
+ }
# {
# event = "after-resume";
# command = display "on";
diff --git a/mango/config.conf b/mango/config.conf
index a1185e8..228b366 100755
--- a/mango/config.conf
+++ b/mango/config.conf
@@ -187,6 +187,7 @@ bind=SUPER+SHIFT,l,exchange_client,right
bind=SUPER,g,toggleglobal,
bind=SUPER,o,toggleoverview,
bind=SUPER,backslash,togglefloating,
+bind=SUPER,backspace,togglefloating,
bind=SUPER,f,togglemaximizescreen,
bind=SUPER+SHIFT,f,togglefullscreen,
bind=SUPER,i,minimized,