Refactoring so that device-specific homes would work
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{ lib,
|
||||
config,
|
||||
pkgs,
|
||||
hostName,
|
||||
hyprland-toggle-tiling,
|
||||
legacy-launcher,
|
||||
pass-autotype,
|
||||
@@ -8,8 +9,10 @@
|
||||
|
||||
{
|
||||
imports = [
|
||||
./modules/hyprland.nix
|
||||
../modules/hyprland.nix
|
||||
./hosts/${hostName}.nix
|
||||
];
|
||||
|
||||
home = {
|
||||
username = "typo";
|
||||
homeDirectory = "/home/typo";
|
||||
5
home/hosts/Heracles.nix
Normal file
5
home/hosts/Heracles.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
monitor=",preferred,auto,1.0";
|
||||
};
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user