diff --git a/.config/home-manager/home.nix b/.config/home-manager/home.nix index 342093c..4f8e424 100644 --- a/.config/home-manager/home.nix +++ b/.config/home-manager/home.nix @@ -4,6 +4,8 @@ home.username = "server"; home.homeDirectory = "/home/server"; 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 # 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 = { EDITOR = "nvim"; LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib";