Big, might break stuff

This commit is contained in:
Bryan Ramos 2024-01-28 06:42:03 -05:00
parent 5fafc45eb4
commit 54c6e42ca0
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
6 changed files with 57 additions and 51 deletions

View file

@ -1,7 +1,5 @@
{ flakePath, ... }:
{
nixup = "sudo nixos-rebuild switch --flake ${flakePath}/.#desktop";
nixup = "sudo nixos-rebuild switch --flake /etc/nixos/.#desktop";
chat = "weechat";
open = "xdg-open";
}

View file

@ -3,7 +3,6 @@
with lib;
let
cfg = config.modules.bash;
flakePath = builtins.toString config.user.defaultFlakePath;
in
{ options.modules.bash = { enable = mkEnableOption "bash"; };
@ -15,7 +14,7 @@ in
initExtra = import ./config/prompt.nix;
profileExtra = import ./config/bashprofile.nix;
bashrcExtra = import ./config/bashrc.nix;
shellAliases = import ./config/alias.nix { inherit flakePath; };
shellAliases = import ./config/alias.nix;
};
programs = {