From 384d6939f8c34b064950108f80dabed6f9329c2f Mon Sep 17 00:00:00 2001 From: Drew Haven Date: Wed, 28 May 2025 11:31:46 -0700 Subject: [PATCH] Removes lock on vega. Fixes some aliases --- home-manager/features/shell.nix | 14 +++++++------- system/hosts/vega/drew.nix | 9 ++++++++- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/home-manager/features/shell.nix b/home-manager/features/shell.nix index ada1741..8083316 100644 --- a/home-manager/features/shell.nix +++ b/home-manager/features/shell.nix @@ -50,16 +50,16 @@ ]; home.shellAliases = { - "p?" = "ps ax | grep"; + "p?" = "ps ax | rg"; # Dysk is basically just better. - "df" = "echo 'Don't you want `dysk`?'"; - "grep" = "echo 'Don't you want `rg`?'"; - "find" = "echo 'Don't you want `fd`?'"; + "df" = "echo 'Do you mean: dysk?'"; + "grep" = "echo 'Do you mean: rg?'"; + "find" = "echo 'Do you mean: fd'"; "cat" = "bat"; "ls" = "eza"; - "http" = "echo 'Don't you want `xh`?'"; - "du" = "echo 'Don't you want `dust` or `dua`?'"; - "ranger" = "echo 'Don't you want `yazi`?'"; + "http" = "echo 'Do you mean: xh'"; + "du" = "echo 'Do you mean: dust or dua?'"; + "ranger" = "echo 'Do you mean: yazi'"; }; programs.zsh = { diff --git a/system/hosts/vega/drew.nix b/system/hosts/vega/drew.nix index aef5566..c1755e9 100644 --- a/system/hosts/vega/drew.nix +++ b/system/hosts/vega/drew.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, lib, ... }: { imports = map (x: ../../../home-manager + x) [ @@ -32,6 +32,13 @@ userEmail = "periodic@blazestar.net"; }; + # TODO: Hyprlock is not working correctly on this system and is showing the + # desktop but the screen is still locked. Disabling it for now. + services.hypridle.settings.general = { + lock_cmd = lib.mkForce ""; + before_sleep_cmd = lib.mkForce ""; + }; + wayland.windowManager.hyprland.settings = { # Set up eww here because it's based on the monitor configuration # Eww is idempotent, so it's fine to just run it on every reload to make sure things are open