nixos-config location isn't super necessary

This commit is contained in:
baduhai 2022-12-09 20:04:16 -03:00
parent 50c34e895e
commit ed619fe78a
2 changed files with 4 additions and 6 deletions

View file

@ -12,8 +12,6 @@
networking.hostName = "io"; networking.hostName = "io";
nix.nixPath = [ "nixos-config=/home/user/Projects/nix-config/personal/hosts/desktops/io.nix" ];
zramSwap = { zramSwap = {
enable = true; enable = true;
memoryPercent = 100; memoryPercent = 100;

View file

@ -25,10 +25,10 @@
fish = { fish = {
shellAliases.ssh = "kitty +kitten ssh"; shellAliases.ssh = "kitty +kitten ssh";
functions = { functions = {
rebuild = "rm ~/.gtkrc-2.0; sudo nixos-rebuild switch --flake '/home/user/Projects/nix-config#'"; rebuild = "rm ~/.gtkrc-2.0; sudo nixos-rebuild switch --flake '/home/user/Projects/personal/nix-config#'";
rebuild-boot = "rm ~/.gtkrc-2.0; sudo nixos-rebuild boot --flake '/home/user/Projects/nix-config#'"; rebuild-boot = "rm ~/.gtkrc-2.0; sudo nixos-rebuild boot --flake '/home/user/Projects/personal/nix-config#'";
upgrade = "rm ~/.gtkrc-2.0; nix flake update --commit-lock-file /home/user/Projects/nix-config; sudo nixos-rebuild switch --upgrade --flake '/home/user/Projects/nix-config#'"; upgrade = "rm ~/.gtkrc-2.0; nix flake update --commit-lock-file /home/user/Projects/personal/nix-config; sudo nixos-rebuild switch --upgrade --flake '/home/user/Projects/personal/nix-config#'";
upgrade-boot = "rm ~/.gtkrc-2.0; nix flake update --commit-lock-file /home/user/Projects/nix-config; sudo nixos-rebuild boot --upgrade --flake '/home/user/Projects/nix-config#'"; upgrade-boot = "rm ~/.gtkrc-2.0; nix flake update --commit-lock-file /home/user/Projects/personal/nix-config; sudo nixos-rebuild boot --upgrade --flake '/home/user/Projects/personal/nix-config#'";
}; };
}; };
btop = { btop = {