install nix
This commit is contained in:
5
home.nix
5
home.nix
@@ -13,6 +13,7 @@
|
||||
|
||||
# Configure PATH for all shells, including non-interactive ones
|
||||
home.sessionPath = [
|
||||
"${config.home.homeDirectory}/.local/bin"
|
||||
"${config.home.homeDirectory}/.nix-profile/bin"
|
||||
"/nix/var/nix/profiles/default/bin"
|
||||
];
|
||||
@@ -30,6 +31,9 @@
|
||||
# Set environment variables for all shells
|
||||
home.sessionVariables = {
|
||||
NIX_PATH = "${config.home.homeDirectory}/.nix-defexpr/channels:nixpkgs=${config.home.homeDirectory}/.nix-defexpr/channels/nixpkgs";
|
||||
|
||||
# Use bwrap for nix-portable
|
||||
NP_RUNTIME = "bwrap";
|
||||
};
|
||||
|
||||
# Create SSH environment file for non-interactive sessions
|
||||
@@ -41,6 +45,7 @@
|
||||
|
||||
# Packages to install
|
||||
home.packages = with pkgs; [
|
||||
nix
|
||||
eza
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user