feat: made fish the default shell and a few other things
This commit is contained in:
parent
737ee75da0
commit
a8120c85dc
1
modules/applications/shells/aliases.nix
Normal file
1
modules/applications/shells/aliases.nix
Normal file
|
@ -0,0 +1 @@
|
|||
{ ls = "exa -l"; }
|
|
@ -1,7 +1 @@
|
|||
{ ... }: {
|
||||
imports = [ ./sessionVariables.nix ];
|
||||
home-manager.users.adrielus.programs = {
|
||||
zsh.enable = true;
|
||||
fish.enable = true;
|
||||
};
|
||||
}
|
||||
{ pkgs, ... }: { imports = [ ./sessionVariables.nix ./fish.nix ]; }
|
||||
|
|
13
modules/applications/shells/fish.nix
Normal file
13
modules/applications/shells/fish.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ pkgs, ... }:
|
||||
let shellAliases = import ./aliases.nix;
|
||||
in {
|
||||
home-manager.users.adrielus.programs.fish = {
|
||||
inherit shellAliases;
|
||||
|
||||
enable = true;
|
||||
# plugins = [{
|
||||
# name = "agnoster";
|
||||
# src = pkgs.agnoster;
|
||||
# }];
|
||||
};
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }:
|
||||
{ pkgs, ... }:
|
||||
with import ../secrets.nix; {
|
||||
users = {
|
||||
mutableUsers = false;
|
||||
|
@ -7,6 +7,7 @@ with import ../secrets.nix; {
|
|||
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
isNormalUser = true;
|
||||
shell = pkgs.fish;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -11,6 +11,18 @@
|
|||
"url": "https://github.com/nix-community/NUR/archive/d28e8f7d40e2683d57589f8ffa7568bdf89d316f.tar.gz",
|
||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||
},
|
||||
"agnoster": {
|
||||
"branch": "master",
|
||||
"description": null,
|
||||
"homepage": null,
|
||||
"owner": "oh-my-fish",
|
||||
"repo": "theme-agnoster",
|
||||
"rev": "99d4e9f1b6bb1c828155495bddf3e0f0516e35f1",
|
||||
"sha256": "0vyg30zi3xhl7m2y40ihb7ikwifz5ifq5wq0y58rz9hpb19wf8ws",
|
||||
"type": "tarball",
|
||||
"url": "https://github.com/oh-my-fish/theme-agnoster/archive/99d4e9f1b6bb1c828155495bddf3e0f0516e35f1.tar.gz",
|
||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||
},
|
||||
"all-hies": {
|
||||
"branch": "master",
|
||||
"description": "Cached Haskell IDE Engine Nix builds for all GHC versions",
|
||||
|
|
Loading…
Reference in a new issue