2023-11-07 06:39:10 +00:00
|
|
|
{ config, desktop, inputs, pkgs, self, username, ... }:
|
2023-03-30 18:15:51 +00:00
|
|
|
|
2023-08-08 19:15:31 +00:00
|
|
|
let
|
2024-01-04 13:00:00 +00:00
|
|
|
desktop-config = import ./desktop.nix { inherit config inputs pkgs username; };
|
2023-11-07 06:39:10 +00:00
|
|
|
shared-config = import ../../shared/home-manager.nix { inherit inputs pkgs self username; };
|
|
|
|
shared-packages = import ../../shared/home-manager-packages.nix { inherit inputs pkgs; };
|
2023-08-08 19:15:31 +00:00
|
|
|
in
|
2023-03-30 18:15:51 +00:00
|
|
|
{
|
2023-08-08 19:15:31 +00:00
|
|
|
imports = if desktop then [ desktop-config shared-config ] else [ shared-config ];
|
|
|
|
|
|
|
|
home.packages = shared-packages ++ pkgs.lib.optionals desktop [
|
|
|
|
pkgs.discord
|
2023-11-29 09:46:39 +00:00
|
|
|
pkgs.gimp
|
2024-02-04 00:05:57 +00:00
|
|
|
pkgs.gscan2pdf
|
|
|
|
pkgs.i3-auto-layout
|
2023-11-14 21:25:48 +00:00
|
|
|
pkgs.kdenlive
|
2023-08-08 19:15:31 +00:00
|
|
|
pkgs.meslo-lg
|
2023-11-14 21:25:48 +00:00
|
|
|
pkgs.obs-studio
|
2023-08-21 21:56:17 +00:00
|
|
|
pkgs.okular
|
2023-08-16 19:46:00 +00:00
|
|
|
pkgs.pamixer
|
2023-08-08 19:15:31 +00:00
|
|
|
pkgs.pass
|
2023-11-29 09:46:39 +00:00
|
|
|
pkgs.pavucontrol
|
2023-08-08 19:15:31 +00:00
|
|
|
pkgs.pinentry
|
|
|
|
pkgs.slack
|
2023-08-10 23:28:17 +00:00
|
|
|
pkgs.via
|
2023-08-08 19:15:31 +00:00
|
|
|
pkgs.vlc
|
2023-12-12 22:00:00 +00:00
|
|
|
pkgs.xsel
|
2023-08-08 19:15:31 +00:00
|
|
|
pkgs.xcape
|
|
|
|
pkgs.zoom-us
|
2023-03-30 18:15:51 +00:00
|
|
|
];
|
|
|
|
|
2023-08-08 19:15:31 +00:00
|
|
|
home.sessionVariables = {
|
|
|
|
EDITOR = "nvim";
|
|
|
|
LANG = "en_GB.UTF-8";
|
|
|
|
LC_ALL = "en_GB.UTF-8";
|
|
|
|
LC_CTYPE = "en_GB.UTF-8";
|
2023-08-14 16:49:20 +00:00
|
|
|
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
|
2023-08-08 19:15:31 +00:00
|
|
|
PULUMI_SKIP_UPDATE_CHECK = "true";
|
2023-12-21 12:09:03 +00:00
|
|
|
RIPGREP_CONFIG_PATH = "$HOME/.config/ripgrep/config";
|
2023-07-18 19:23:55 +00:00
|
|
|
};
|
2023-03-30 18:15:51 +00:00
|
|
|
}
|