Rename system
to lib
This commit is contained in:
parent
cf4c9710a2
commit
addad268e5
18 changed files with 2 additions and 2 deletions
lib/nixos/home-manager
50
lib/nixos/home-manager/default.nix
Normal file
50
lib/nixos/home-manager/default.nix
Normal file
|
@ -0,0 +1,50 @@
|
|||
{
|
||||
config,
|
||||
desktop,
|
||||
inputs,
|
||||
pkgs,
|
||||
self,
|
||||
username,
|
||||
...
|
||||
}: let
|
||||
desktop-config = import ./desktop.nix {inherit config inputs pkgs username;};
|
||||
shared-config = import ../../shared/home-manager.nix {inherit inputs pkgs self username;};
|
||||
shared-packages = import ../../shared/home-manager-packages.nix {inherit inputs pkgs;};
|
||||
in {
|
||||
imports =
|
||||
if desktop
|
||||
then [desktop-config shared-config]
|
||||
else [shared-config];
|
||||
|
||||
home.packages =
|
||||
shared-packages
|
||||
++ pkgs.lib.optionals desktop [
|
||||
pkgs.discord
|
||||
pkgs.gimp
|
||||
pkgs.gscan2pdf
|
||||
pkgs.kdenlive
|
||||
pkgs.meslo-lg
|
||||
pkgs.obs-studio
|
||||
pkgs.okular
|
||||
pkgs.pamixer
|
||||
pkgs.pass
|
||||
pkgs.pavucontrol
|
||||
pkgs.pinentry
|
||||
pkgs.slack
|
||||
pkgs.via
|
||||
pkgs.vlc
|
||||
pkgs.xsel
|
||||
pkgs.xcape
|
||||
pkgs.zoom-us
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
LANG = "en_GB.UTF-8";
|
||||
LC_ALL = "en_GB.UTF-8";
|
||||
LC_CTYPE = "en_GB.UTF-8";
|
||||
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
|
||||
PULUMI_SKIP_UPDATE_CHECK = "true";
|
||||
RIPGREP_CONFIG_PATH = "$HOME/.config/ripgrep/config";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue