Refactoring so that device-specific homes would work
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
{ lib,
|
{ lib,
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
hostName,
|
||||||
hyprland-toggle-tiling,
|
hyprland-toggle-tiling,
|
||||||
legacy-launcher,
|
legacy-launcher,
|
||||||
pass-autotype,
|
pass-autotype,
|
||||||
@@ -8,8 +9,10 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./modules/hyprland.nix
|
../modules/hyprland.nix
|
||||||
|
./hosts/${hostName}.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
username = "typo";
|
username = "typo";
|
||||||
homeDirectory = "/home/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,
|
||||||
pkgs-unstable,
|
pkgs-unstable,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
hyprland-toggle-tiling,
|
hyprland-toggle-tiling,
|
||||||
legacy-launcher,
|
legacy-launcher,
|
||||||
pass-autotype,
|
pass-autotype,
|
||||||
lib,
|
|
||||||
... }:
|
... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -46,7 +47,7 @@
|
|||||||
loader.timeout = lib.mkForce 1;
|
loader.timeout = lib.mkForce 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
time.timeZone = "Europe/Budapest";
|
time.timeZone = "Europe/Budapest";
|
||||||
|
|
||||||
@@ -69,18 +70,20 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit
|
inherit
|
||||||
hyprland-toggle-tiling
|
hyprland-toggle-tiling
|
||||||
legacy-launcher
|
legacy-launcher
|
||||||
pass-autotype;
|
pass-autotype;
|
||||||
};
|
|
||||||
|
|
||||||
users.typo = import ../home.nix;
|
hostName = config.networking.hostName;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
users.typo = ../home/common.nix;
|
||||||
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
# firefox.enable = true;
|
# firefox.enable = true;
|
||||||
|
|||||||
@@ -12,7 +12,6 @@
|
|||||||
../hyprland/hypr/autostart.nix
|
../hyprland/hypr/autostart.nix
|
||||||
../hyprland/hypr/input.nix
|
../hyprland/hypr/input.nix
|
||||||
../hyprland/hypr/appearance.nix
|
../hyprland/hypr/appearance.nix
|
||||||
../hyprland/hypr/monitors.nix
|
|
||||||
../hyprland/hypr/permissions.nix
|
../hyprland/hypr/permissions.nix
|
||||||
../hyprland/raw/kitty.nix
|
../hyprland/raw/kitty.nix
|
||||||
../hyprland/raw/fuzzel.nix
|
../hyprland/raw/fuzzel.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user