Some fixes to new config
This commit is contained in:
parent
d15f8e4a5f
commit
e9b8cd2102
2 changed files with 1 additions and 14 deletions
|
@ -1,6 +0,0 @@
|
||||||
{pkgs, ...}: {
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
micro
|
|
||||||
prettyping
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -12,7 +12,6 @@
|
||||||
cat = "bat";
|
cat = "bat";
|
||||||
rm = "gio trash";
|
rm = "gio trash";
|
||||||
free = "free -h";
|
free = "free -h";
|
||||||
ping = "prettyping";
|
|
||||||
neofetch = "neowofetch";
|
neofetch = "neowofetch";
|
||||||
shutdown = "shutdown now";
|
shutdown = "shutdown now";
|
||||||
|
|
||||||
|
@ -25,14 +24,8 @@
|
||||||
|
|
||||||
# NixOS
|
# NixOS
|
||||||
dev = "nix develop";
|
dev = "nix develop";
|
||||||
garbage = "sudo nix-collect-garbage -d";
|
garbage = "sudo nix-collect-garbage -d && nix-collect-garbage -d";
|
||||||
flake = "$EDITOR ~/.config/nixos/flake.nix";
|
|
||||||
common = "$EDITOR ~/.config/nixos/common.nix";
|
|
||||||
format = "cd ~/.config/nixos/ && nix fmt; cd -";
|
|
||||||
stylix = "$EDITOR ~/.config/nixos/$(hostname)/stylix.nix";
|
|
||||||
rebuild = "sudo nixos-rebuild switch --flake ~/.config/nixos/#";
|
rebuild = "sudo nixos-rebuild switch --flake ~/.config/nixos/#";
|
||||||
config = "$EDITOR ~/.config/nixos/$(hostname)/configuration.nix";
|
|
||||||
home-manager = "$EDITOR ~/.config/nixos/$(hostname)/home-manager.nix";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
users.defaultUserShell = pkgs.fish;
|
users.defaultUserShell = pkgs.fish;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue