Skip to content

Commit e927d9a

Browse files
committed
feat: add nixvim; dynamic binaries; fish
1 parent eeb58bb commit e927d9a

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
# Available through 'home-manager --flake .#your-username@your-hostname'
4040
homeConfigurations = {
4141
"homeserver@nixos" = home-manager.lib.homeManagerConfiguration {
42-
modules = [ ./home-manager/homeserver/home.nix ];
42+
modules = [ ./home-manager/homeserver/home.nix nixvim.homeManagerModules.nixvim ];
4343
pkgs = nixpkgs.legacyPackages.x86_64-linux;
4444
extraSpecialArgs = { inherit inputs; };
4545
};

hosts/nixos/configuration.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@
104104

105105
programs.fish.enable = true;
106106

107+
# Run unpatched dynamic binaries on NixOS.
108+
programs.nix-ld.enable = true;
109+
107110
# Some programs need SUID wrappers, can be configured further or are
108111
# started in user sessions.
109112
programs.mtr.enable = true;

modules/fish.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,14 @@
1010
nixos-switch = "sudo nixos-rebuild switch --flake ~/nixos-config";
1111
home-switch = "home-manager switch --flake ~/nixos-config";
1212
};
13+
plugins = [{
14+
name = "foreign-env";
15+
src = pkgs.fetchFromGitHub {
16+
owner = "oh-my-fish";
17+
repo = "plugin-foreign-env";
18+
rev = "dddd9213272a0ab848d474d0cbde12ad034e65bc";
19+
sha256 = "00xqlyl3lffc5l0viin1nyp819wf81fncqyz87jx8ljjdhilmgbs";
20+
};
21+
}];
1322
};
1423
}

0 commit comments

Comments
 (0)