This commit is contained in:
iFargle 2023-09-19 11:26:09 +09:00
parent c26bfda406
commit 4ecf4ad788
2 changed files with 15 additions and 15 deletions

View file

@ -1,18 +1,4 @@
{ lib, config, pkgs, inputs, hostname, platform, username, desktop, theme, hmStateVersion, ... }: {
home = {
inherit username;
stateVersion = hmStateVersion;
homeDirectory = "/home/${username}";
sessionPath = [ "$HOME/.local/bin" ];
pointerCursor = {
gtk.enable = true;
package = pkgs.catppuccin-cursors.mochaLight;
name = "Catppuccin-Mocha-Light-Cursors";
size = 22;
};
};
imports = [
# Doom-Emacs input import
inputs.doom-emacs.hmModule
@ -27,6 +13,19 @@
++ lib.optional (builtins.isString desktop) ./common/desktops/${desktop} # Machine-agnostic desktop configs
++ lib.optional (builtins.isString desktop) ./hosts/${hostname}/desktops/${desktop} # Machine-specific desktop configs
;
home = {
inherit username;
stateVersion = hmStateVersion;
homeDirectory = "/home/${username}";
sessionPath = [ "$HOME/.local/bin" ];
pointerCursor = {
gtk.enable = true;
package = pkgs.catppuccin-cursors.mochaLight;
name = "Catppuccin-Mocha-Light-Cursors";
size = 22;
};
};
nixpkgs = {
overlays = [

View file

@ -11,7 +11,7 @@
pkgs = inputs.nixpkgs.legacyPackages.${platform};
extraSpecialArgs = { inherit inputs outputs desktop hostname platform username hmStateVersion theme; };
modules = [
../home-manager
../home-manager dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
];
};
@ -52,6 +52,7 @@
inputs.sops-nix.nixosModules.sops
inputs.lanzaboote.nixosModules.lanzaboote
inputs.home-manager.nixosModules.home-manager {
extraSpecialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu platform theme format; };
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users."$username" = import ../home-manager;