46 lines
1.3 KiB
Nix
46 lines
1.3 KiB
Nix
# home.nix
|
|
{ config, pkgs, pkgs-unstable, inputs, ... }:
|
|
|
|
{
|
|
home.stateVersion = "25.05";
|
|
home.username = "someone";
|
|
home.homeDirectory = "/home/someone";
|
|
programs.home-manager.enable = true;
|
|
|
|
wayland.windowManager.hyprland = {
|
|
enable = true;
|
|
configType = "lua";
|
|
extraConfig = "
|
|
local constants = require('hyprland/constants')
|
|
|
|
hl.config({
|
|
autogenerated = 0,
|
|
})
|
|
|
|
-- ── Includes ──
|
|
require('hyprland/monitors')
|
|
require('hyprland/env')
|
|
require('hyprland/input')
|
|
require('hyprland/general')
|
|
require('hyprland/appearance')
|
|
require('hyprland/windowrules')
|
|
require('hyprland/exec')
|
|
require('hyprland/binds')
|
|
";
|
|
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
|
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
|
systemd.enable = true; # We do not use UWSM
|
|
systemd.variables = ["--all"];
|
|
xwayland.enable = true;
|
|
plugins = [
|
|
inputs.hyprland-split-monitor-workspaces.packages.${pkgs.stdenv.hostPlatform.system}.split-monitor-workspaces
|
|
#inputs.hyprland-hyprspace.packages.${pkgs.stdenv.hostPlatform.system}.Hyprspace
|
|
];
|
|
};
|
|
|
|
imports =
|
|
[
|
|
../../homemanager/shared-conf.nix
|
|
];
|
|
}
|