feat: add dependencies to host in home-manager
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
{ pkgs, pkgs-fixed, ... }: {
|
||||
{ pkgs, pkgs-fixed, host, ... }: {
|
||||
disabledModules = [ ../../modules/user/packages/coding.nix ];
|
||||
home.packages = with pkgs; [
|
||||
nautilus
|
||||
@ -7,4 +7,5 @@
|
||||
python3
|
||||
pkgs-fixed.jetbrains.pycharm-community
|
||||
];
|
||||
programs.hyprlock.enable = host.laptop;
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
||||
in {
|
||||
settings = {
|
||||
monitor = ",preferred,auto,1";
|
||||
exec-once =["${lib.getExe pkgs.linux-wallpaperengine} /mnt/D/SteamLibrary/steamapps/workshop/content/431960/816353979 --assets-dir /mnt/D/SteamLibrary/steamapps/common/wallpaper_engine/assets --screen-root DP-1 --noautomute"];
|
||||
exec-once =["${lib.getExe pkgs.linux-wallpaperengine} ~/.local/share/wpe/wallpaper --assets-dir ~/.local/share/wpe/assets --screen-root DP-1 --noautomute"];
|
||||
general = {
|
||||
gaps_in = 5;
|
||||
gaps_out = 5;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ pkgs, config, lib, ... }: {
|
||||
{ pkgs, config, lib, host, ... }: {
|
||||
stylix = {
|
||||
enable = true;
|
||||
targets = {
|
||||
@ -21,7 +21,11 @@
|
||||
dark = "Pop-Dark";
|
||||
};
|
||||
|
||||
cursor = {
|
||||
cursor = if host.name == "Impreza" then {
|
||||
name = "catppuccin-mocha-pink-cursors";
|
||||
size = 16;
|
||||
package = pkgs.catppuccin-cursors.mochaPink;
|
||||
} else {
|
||||
name = "catppuccin-mocha-peach-cursors";
|
||||
size = 16;
|
||||
package = pkgs.catppuccin-cursors.mochaPeach;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ pkgs, pkgs-stable, pkgs-fixed, lib, inputs, name, fullname ? name, ... }: {
|
||||
{ config, pkgs, pkgs-stable, pkgs-fixed, lib, inputs, laptop, name, fullname ? name, ... }: {
|
||||
imports = [
|
||||
inputs.home-manager.nixosModules.home-manager {
|
||||
home-manager = {
|
||||
@ -27,6 +27,10 @@
|
||||
inherit inputs;
|
||||
inherit pkgs-stable;
|
||||
inherit pkgs-fixed;
|
||||
host = {
|
||||
laptop = laptop;
|
||||
name = config.networking.hostName;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user