Refactoring so that device-specific homes would work

This commit is contained in:
2026-04-15 17:01:35 +02:00
parent 6c3733c50c
commit d254fbd6b4
5 changed files with 25 additions and 15 deletions

View File

@@ -1,9 +1,10 @@
{ pkgs,
pkgs-unstable,
lib,
config,
hyprland-toggle-tiling,
legacy-launcher,
pass-autotype,
lib,
... }:
{
@@ -46,7 +47,7 @@
loader.timeout = lib.mkForce 1;
};
networking.networkmanager.enable = true;
networking.networkmanager.enable = true;
time.timeZone = "Europe/Budapest";
@@ -69,18 +70,20 @@
};
};
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {
inherit
hyprland-toggle-tiling
legacy-launcher
pass-autotype;
};
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {
inherit
hyprland-toggle-tiling
legacy-launcher
pass-autotype;
hostName = config.networking.hostName;
};
users.typo = import ../home.nix;
};
users.typo = ../home/common.nix;
};
programs = {
# firefox.enable = true;

View File

@@ -12,7 +12,6 @@
../hyprland/hypr/autostart.nix
../hyprland/hypr/input.nix
../hyprland/hypr/appearance.nix
../hyprland/hypr/monitors.nix
../hyprland/hypr/permissions.nix
../hyprland/raw/kitty.nix
../hyprland/raw/fuzzel.nix