Add nix-your-shell so I can use fish in nix shells
This commit is contained in:
parent
ddfda9d813
commit
30765ff3c4
2 changed files with 21 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
pkgs,
|
||||
unstable,
|
||||
inputs,
|
||||
nix-your-shell,
|
||||
...
|
||||
}:
|
||||
|
||||
|
@ -15,6 +16,10 @@
|
|||
# in
|
||||
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
nix-your-shell.overlays.default
|
||||
];
|
||||
|
||||
nix.settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
|
@ -143,7 +148,13 @@
|
|||
|
||||
programs.firefox.enable = true;
|
||||
programs.thunderbird.enable = true;
|
||||
programs.fish.enable = true;
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = ''
|
||||
nix-your-shell fish | source
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
programs.gpu-screen-recorder = {
|
||||
enable = true;
|
||||
|
|
|
@ -10,12 +10,19 @@
|
|||
|
||||
# CPU microcode updater
|
||||
ucodenix.url = "github:e-tho/ucodenix";
|
||||
|
||||
nix-your-shell = {
|
||||
url = "github:MercuryTechnologies/nix-your-shell";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
outputs =
|
||||
{
|
||||
nixpkgs,
|
||||
unstable,
|
||||
nix-your-shell,
|
||||
...
|
||||
}@inputs:
|
||||
let
|
||||
|
@ -35,6 +42,8 @@
|
|||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
|
||||
inherit nix-your-shell;
|
||||
};
|
||||
modules = [
|
||||
./configuration.nix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue