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,
|
pkgs,
|
||||||
unstable,
|
unstable,
|
||||||
inputs,
|
inputs,
|
||||||
|
nix-your-shell,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -15,6 +16,10 @@
|
||||||
# in
|
# in
|
||||||
|
|
||||||
{
|
{
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
nix-your-shell.overlays.default
|
||||||
|
];
|
||||||
|
|
||||||
nix.settings.experimental-features = [
|
nix.settings.experimental-features = [
|
||||||
"nix-command"
|
"nix-command"
|
||||||
"flakes"
|
"flakes"
|
||||||
|
@ -143,7 +148,13 @@
|
||||||
|
|
||||||
programs.firefox.enable = true;
|
programs.firefox.enable = true;
|
||||||
programs.thunderbird.enable = true;
|
programs.thunderbird.enable = true;
|
||||||
programs.fish.enable = true;
|
programs.fish = {
|
||||||
|
enable = true;
|
||||||
|
interactiveShellInit = ''
|
||||||
|
nix-your-shell fish | source
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
programs.gpu-screen-recorder = {
|
programs.gpu-screen-recorder = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -10,12 +10,19 @@
|
||||||
|
|
||||||
# CPU microcode updater
|
# CPU microcode updater
|
||||||
ucodenix.url = "github:e-tho/ucodenix";
|
ucodenix.url = "github:e-tho/ucodenix";
|
||||||
|
|
||||||
|
nix-your-shell = {
|
||||||
|
url = "github:MercuryTechnologies/nix-your-shell";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
{
|
{
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
unstable,
|
unstable,
|
||||||
|
nix-your-shell,
|
||||||
...
|
...
|
||||||
}@inputs:
|
}@inputs:
|
||||||
let
|
let
|
||||||
|
@ -35,6 +42,8 @@
|
||||||
inherit system;
|
inherit system;
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
inherit nix-your-shell;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue