From fe5bd54a1b61dd22cb9d0f0d7be8d9b714eee302 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Wed, 4 Jan 2023 21:11:14 -0800 Subject: [PATCH] Remove lock instead of login --- hosts/desktop.nix | 4 ---- i3.nix | 2 -- lock/default.nix | 8 -------- lock/lock.sh | 1 - 4 files changed, 15 deletions(-) delete mode 100644 lock/default.nix delete mode 100755 lock/lock.sh diff --git a/hosts/desktop.nix b/hosts/desktop.nix index 62453f8..9b14934 100644 --- a/hosts/desktop.nix +++ b/hosts/desktop.nix @@ -20,10 +20,6 @@ }; }; }; - autoLogin = { - enable = true; - user = "elnu"; - }; defaultSession = "none+i3"; }; windowManager.i3 = { diff --git a/i3.nix b/i3.nix index ce9f94b..de28313 100644 --- a/i3.nix +++ b/i3.nix @@ -5,8 +5,6 @@ let in { # Dependencies home.packages = with pkgs; [ - i3lock-color # TODO: add as dependency of ./lock - (pkgs.callPackage ./lock { }) playerctl # pactl comes with PulseAudio scrot # Screnshot keybindings xclip # Copying screenshots to clipboard diff --git a/lock/default.nix b/lock/default.nix deleted file mode 100644 index f91f828..0000000 --- a/lock/default.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ substituteAll, pkgs }: - -substituteAll { - name = "lock"; - src = ./lock.sh; - dir = "bin"; - isExecutable = true; -} diff --git a/lock/lock.sh b/lock/lock.sh deleted file mode 100755 index 71e016f..0000000 --- a/lock/lock.sh +++ /dev/null @@ -1 +0,0 @@ -i3lock-color --fill -c 272c36 -i `readlink -f ~/.background-image`