From 0c8b1f5bf9cc76c0526cc4a9219e490405a8a90e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Mon, 29 Apr 2024 10:53:00 +0200 Subject: [PATCH] update home-manager config --- .config/home-manager/home.nix | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) 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";