add: unity

This commit is contained in:
2026-05-30 13:23:07 +01:00
parent 6de7c0ca67
commit 0842e518cc
3 changed files with 55 additions and 46 deletions
@@ -16,6 +16,7 @@
modules.kitty modules.kitty
modules.nikpkgs modules.nikpkgs
modules.fonts modules.fonts
modules.unity
<modules/hyprland/doloro-settings> <modules/hyprland/doloro-settings>
(modules.obs { (modules.obs {
audio = true; audio = true;
+7 -10
View File
@@ -3,16 +3,13 @@
inputs, inputs,
lib, lib,
... ...
}: }: {
{
flake-file.inputs = { flake-file.inputs = {
hyprland.url = "github:hyprwm/Hyprland"; hyprland.url = "github:hyprwm/Hyprland";
}; };
modules.hyprland = { modules.hyprland = {
nixos = nixos = {pkgs, ...}: {
{ pkgs, ... }: imports = [inputs.hyprland.nixosModules.default];
{
imports = [ inputs.hyprland.nixosModules.default ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
wayfreeze wayfreeze
grim grim
@@ -46,15 +43,15 @@
# package32 = pkgs-unstable.pkgsi686Linux.mesa; # package32 = pkgs-unstable.pkgsi686Linux.mesa;
}; };
}; };
homeManager = homeManager = {pkgs, ...}: {
{ pkgs, ... }:
{
gtk = { gtk = {
enable = true; enable = true;
}; };
# backupFileExtension = "backupHM";
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
systemd.variables = [ "--all" ]; systemd.variables = ["--all"];
# configType = "lua";
}; };
}; };
}; };
+11
View File
@@ -0,0 +1,11 @@
{modules, ...}: {
modules.unity = {
homeManager = {pkgs, ...}: {
home.packages = [pkgs.unityhub pkgs.alcom];
home.file."unityExec" = {
source = "${pkgs.unityhub}/bin/unityhub";
recursive = true;
};
};
};
}