From aea8d7927481d2180e064b14e0d33dcba3bc6f1e Mon Sep 17 00:00:00 2001 From: ISnortPennies Date: Fri, 27 Jan 2023 11:49:31 -0500 Subject: [PATCH] environment changes --- configuration.nix | 8 +++++++- flake.nix | 1 - modules/zsh.nix | 4 ---- repl.nix | 8 -------- 4 files changed, 7 insertions(+), 14 deletions(-) delete mode 100644 repl.nix diff --git a/configuration.nix b/configuration.nix index 6d8015e..3b56bd6 100644 --- a/configuration.nix +++ b/configuration.nix @@ -14,12 +14,18 @@ SYSTEMD_PAGERSECURE = "true"; TERMINAL = "st"; }; + shellAliases = { + ls = "exa --long --icons"; + }; + interactiveShellInit = '' + neofetch + ''; }; security.sudo = { enable = true; execWheelOnly = true; extraConfig = '' - Defaults env_keep += "EDITOR VISUAL PAGER SYSTEMD_PAGERSECURE TERMINAL" + Defaults env_keep += "EDITOR VISUAL PAGER SYSTEMD_PAGERSECURE TERMINAL" ''; }; #hardware stuff diff --git a/flake.nix b/flake.nix index b252350..cd9366c 100644 --- a/flake.nix +++ b/flake.nix @@ -65,7 +65,6 @@ }; nix = { nixPath = [ - "repl=/etc/nix/flake-channels/system/repl.nix" "nixpkgs=/etc/nix/flake-channels/nixpkgs" "home-manager=/etc/nix/flake-channels/home-manager" ]; diff --git a/modules/zsh.nix b/modules/zsh.nix index 8118ee2..473c921 100644 --- a/modules/zsh.nix +++ b/modules/zsh.nix @@ -8,10 +8,6 @@ syntaxHighlighting = { enable = true; }; - interactiveShellInit = "neofetch"; - shellAliases = { - ls = "exa --long --icons"; - }; }; starship = { enable = true; diff --git a/repl.nix b/repl.nix deleted file mode 100644 index ef4e772..0000000 --- a/repl.nix +++ /dev/null @@ -1,8 +0,0 @@ -let - flake = builtins.getFlake (toString ./.); - nixpkgs = import {}; -in { - inherit flake; - inherit nixpkgs; - nixos = flake.nixosConfigurations; -}