mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-24 17:53:51 -08:00
chore: remove unused functions/aliae
This commit is contained in:
parent
d60a08ceb0
commit
3ebf22d7ce
1 changed files with 0 additions and 11 deletions
|
@ -76,19 +76,8 @@
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
rebuild = "sudo nixos-rebuild switch";
|
|
||||||
ls = "eza -l --icons=auto";
|
ls = "eza -l --icons=auto";
|
||||||
};
|
};
|
||||||
functions = {
|
|
||||||
update-nixos = {
|
|
||||||
description = "Update the system flake and attempt to build and switch to the new configuration.";
|
|
||||||
body = ''
|
|
||||||
cd /etc/nixos
|
|
||||||
nix flake update
|
|
||||||
sudo nixos-rebuild switch
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
fish_vi_key_bindings
|
fish_vi_key_bindings
|
||||||
set -g fish_greeting
|
set -g fish_greeting
|
||||||
|
|
Loading…
Reference in a new issue