diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/common.nix | 8 | ||||
| -rw-r--r-- | modules/home/christian.nix | 9 |
2 files changed, 17 insertions, 0 deletions
diff --git a/modules/common.nix b/modules/common.nix index 3e14abb..56cc186 100644 --- a/modules/common.nix +++ b/modules/common.nix @@ -40,8 +40,11 @@ services.xserver.xkb.layout = "us"; # User + programs.fish.enable = true; + users.users.christian = { isNormalUser = true; + shell = pkgs.fish; extraGroups = [ "wheel" "video" @@ -73,6 +76,11 @@ dry-rebuild = "nix build ~/.config/nixos#nixosConfigurations.$(hostname).config.system.build.toplevel --no-link"; }; + programs.fish.shellAliases = { + rebuild = "sudo nixos-rebuild switch --flake ~/.config/nixos"; + dry-rebuild = "nix build ~/.config/nixos#nixosConfigurations.(hostname).config.system.build.toplevel --no-link"; + }; + programs.neovim = { enable = true; defaultEditor = true; diff --git a/modules/home/christian.nix b/modules/home/christian.nix index bae5e90..a0907ab 100644 --- a/modules/home/christian.nix +++ b/modules/home/christian.nix @@ -41,6 +41,15 @@ programs.bash.enable = true; + programs.fish = { + enable = true; + }; + + programs.zoxide = { + enable = true; + enableFishIntegration = true; + }; + programs.ssh = { enable = true; enableDefaultConfig = false; |
