update home-manager config

This commit is contained in:
Thomas Avé 2024-04-29 10:53:00 +02:00
parent 3163f29d0a
commit 0c8b1f5bf9
1 changed files with 2 additions and 16 deletions

View File

@ -4,6 +4,8 @@
home.username = "server"; home.username = "server";
home.homeDirectory = "/home/server"; home.homeDirectory = "/home/server";
home.stateVersion = "23.11"; # Please read the comment before changing. home.stateVersion = "23.11"; # Please read the comment before changing.
targets.genericLinux.enable = true;
nixpkgs.config.allowUnfree = true;
# The home.packages option allows you to install Nix packages into your # The home.packages option allows you to install Nix packages into your
# environment. # environment.
@ -43,22 +45,6 @@
# ''; # '';
}; };
# Home Manager can also manage your environment variables through
# 'home.sessionVariables'. These will be explicitly sourced when using a
# shell provided by Home Manager. If you don't want to manage your shell
# through Home Manager then you have to manually source 'hm-session-vars.sh'
# located at either
#
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh
#
# or
#
# ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh
#
# or
#
# /etc/profiles/per-user/server/etc/profile.d/hm-session-vars.sh
#
home.sessionVariables = { home.sessionVariables = {
EDITOR = "nvim"; EDITOR = "nvim";
LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib"; LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib";