add: unity
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -3,59 +3,56 @@
|
|||||||
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];
|
||||||
{
|
environment.systemPackages = with pkgs; [
|
||||||
imports = [ inputs.hyprland.nixosModules.default ];
|
wayfreeze
|
||||||
environment.systemPackages = with pkgs; [
|
grim
|
||||||
wayfreeze
|
slurp
|
||||||
grim
|
wlogout
|
||||||
slurp
|
ranger
|
||||||
wlogout
|
];
|
||||||
ranger
|
programs.xwayland.enable = true;
|
||||||
|
programs.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
# withUWSM = true;
|
||||||
|
# set the flake package
|
||||||
|
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
||||||
|
# make sure to also set the portal package, so that they are in sync
|
||||||
|
portalPackage =
|
||||||
|
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
||||||
|
};
|
||||||
|
# gtk.enable = lib.mkForce false;
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
extraPortals = [
|
||||||
|
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland
|
||||||
];
|
];
|
||||||
programs.xwayland.enable = true;
|
};
|
||||||
programs.hyprland = {
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
enable = true;
|
hardware.graphics = {
|
||||||
# withUWSM = true;
|
# package = pkgs-unstable.mesa;
|
||||||
# set the flake package
|
|
||||||
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
|
||||||
# make sure to also set the portal package, so that they are in sync
|
|
||||||
portalPackage =
|
|
||||||
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
|
||||||
};
|
|
||||||
# gtk.enable = lib.mkForce false;
|
|
||||||
xdg.portal = {
|
|
||||||
enable = true;
|
|
||||||
extraPortals = [
|
|
||||||
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland
|
|
||||||
];
|
|
||||||
};
|
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
|
||||||
hardware.graphics = {
|
|
||||||
# package = pkgs-unstable.mesa;
|
|
||||||
|
|
||||||
# if you also want 32-bit support (e.g for Steam)
|
# if you also want 32-bit support (e.g for Steam)
|
||||||
# enable32Bit = true;
|
# enable32Bit = true;
|
||||||
# package32 = pkgs-unstable.pkgsi686Linux.mesa;
|
# package32 = pkgs-unstable.pkgsi686Linux.mesa;
|
||||||
};
|
|
||||||
};
|
};
|
||||||
homeManager =
|
};
|
||||||
{ pkgs, ... }:
|
homeManager = {pkgs, ...}: {
|
||||||
{
|
gtk = {
|
||||||
gtk = {
|
enable = true;
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
wayland.windowManager.hyprland = {
|
|
||||||
enable = true;
|
|
||||||
systemd.variables = [ "--all" ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
# backupFileExtension = "backupHM";
|
||||||
|
wayland.windowManager.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
systemd.variables = ["--all"];
|
||||||
|
# configType = "lua";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user