This commit is contained in:
xunuwu 2024-02-07 19:05:44 +01:00
commit 498f3050d5
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
145 changed files with 2964 additions and 0 deletions

36
home/profiles/default.nix Normal file
View file

@ -0,0 +1,36 @@
{
self,
inputs,
...
}: let
# get these into the module system
extraSpecialArgs = {inherit inputs self;};
homeImports = {
"xun@nixdesk" = [
../.
./nixdesk
inputs.nix-index-database.hmModules.nix-index
{
programs.nix-index.enableZshIntegration = false;
programs.nix-index.enableBashIntegration = false;
programs.nix-index.enableFishIntegration = false;
}
];
};
inherit (inputs.home-manager.lib) homeManagerConfiguration;
pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
in {
# we need to pass this to NixOS' HM module
_module.args = {inherit homeImports;};
flake = {
homeConfigurations = {
"xun@nixdesk" = homeManagerConfiguration {
modules = homeImports."xun@nixdesk";
inherit pkgs extraSpecialArgs;
};
};
};
}

View file

@ -0,0 +1,14 @@
{lib, ...}: {
imports = [
../../editors/nvim.nix
../../terminal/shell/zsh.nix
../../programs/media
../../programs/media/jellyfin.nix
../../services/media/playerctl.nix
../../services/system/polkit-agent.nix
../../services/system/udiskie.nix
];
}

View file

@ -0,0 +1,33 @@
{lib, ...}: {
imports = [
../../terminal
../../editors/nvim.nix
../../editors/emacs.nix
../../editors/vscode.nix
../../programs/browsers/firefox.nix
../../terminal/emulator/wezterm.nix
# desktop
../../programs/desktop/awesome
# development
../../develop
# programs
../../programs/misc/keepassxc.nix
../../programs/misc/discord.nix
../../programs/music
../../programs/music/yams.nix
../../programs/media
../../programs/media/jellyfin.nix
# gaming
../../programs/games
../../programs/games/steam.nix
# media services
../../services/media/playerctl.nix
# system services
../../services/system/polkit-agent.nix
../../services/system/udiskie.nix
];
}