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, ... }: { { 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 = [ imports = [
# Doom-Emacs input import # Doom-Emacs input import
inputs.doom-emacs.hmModule inputs.doom-emacs.hmModule
@ -28,6 +14,19 @@
++ lib.optional (builtins.isString desktop) ./hosts/${hostname}/desktops/${desktop} # Machine-specific 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 = { nixpkgs = {
overlays = [ overlays = [
# Currently in use in the Firefox config # Currently in use in the Firefox config

View file

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