@@ -2,12 +2,16 @@
|
|||||||
user ? throw "user argument is required",
|
user ? throw "user argument is required",
|
||||||
home ? throw "home argument is required",
|
home ? throw "home argument is required",
|
||||||
}:
|
}:
|
||||||
{ ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
environment.persistence."/cache"."${home}/.cache/nix" = { };
|
environment.persistence."/cache"."${home}/.cache/nix" = { };
|
||||||
|
|
||||||
home-manager.users.${user}.programs.zsh.shellAliases = {
|
home-manager.users.${user} = {
|
||||||
nrs = "sudo nixos-rebuild switch --flake .#$(hostname) --show-trace";
|
home.packages = with pkgs; [ nurl ];
|
||||||
nrb = "sudo nixos-rebuild boot --flake .#$(hostname) --show-trace";
|
|
||||||
|
programs.zsh.shellAliases = {
|
||||||
|
nrs = "sudo nixos-rebuild switch --flake .#$(hostname) --show-trace";
|
||||||
|
nrb = "sudo nixos-rebuild boot --flake .#$(hostname) --show-trace";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@@ -10,6 +10,7 @@ in
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../../common/configs/user/options.nix
|
../../../common/configs/user/options.nix
|
||||||
|
|
||||||
(import ../../../common/configs/user/console/bashmount { inherit user home; })
|
(import ../../../common/configs/user/console/bashmount { inherit user home; })
|
||||||
(import ../../../common/configs/user/console/brightnessctl { inherit user home; })
|
(import ../../../common/configs/user/console/brightnessctl { inherit user home; })
|
||||||
(import ../../../common/configs/user/console/btop { inherit user home; })
|
(import ../../../common/configs/user/console/btop { inherit user home; })
|
||||||
|
@@ -19,6 +19,7 @@ in
|
|||||||
(import ../../../common/configs/user/console/lsof { inherit user home; })
|
(import ../../../common/configs/user/console/lsof { inherit user home; })
|
||||||
(import ../../../common/configs/user/console/ncdu { inherit user home; })
|
(import ../../../common/configs/user/console/ncdu { inherit user home; })
|
||||||
(import ../../../common/configs/user/console/neovim { inherit user home; })
|
(import ../../../common/configs/user/console/neovim { inherit user home; })
|
||||||
|
(import ../../../common/configs/user/console/nix { inherit user home; })
|
||||||
(import ../../../common/configs/user/console/nix-develop { inherit user home; })
|
(import ../../../common/configs/user/console/nix-develop { inherit user home; })
|
||||||
(import ../../../common/configs/user/console/nix-direnv { inherit user home; })
|
(import ../../../common/configs/user/console/nix-direnv { inherit user home; })
|
||||||
(import ../../../common/configs/user/console/nixpkgs { inherit user home; })
|
(import ../../../common/configs/user/console/nixpkgs { inherit user home; })
|
||||||
|
Reference in New Issue
Block a user