Added hyprland

This commit is contained in:
2025-05-17 18:21:00 -04:00
parent 1fe1c74418
commit 3cecd47704
2 changed files with 10 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, inputs, ... }:
{ {
# Bootloader. # Bootloader.
@@ -60,6 +60,13 @@
services.desktopManager.plasma6.enable = true; services.desktopManager.plasma6.enable = true;
# Hyprland
programs.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
};
# Enable graphics acceleration and AMDVLK # Enable graphics acceleration and AMDVLK
hardware.graphics = { hardware.graphics = {
enable = true; enable = true;

View File

@@ -12,6 +12,7 @@
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
hyprland.url = "github:hyprwm/Hyprland";
}; };
outputs = { self, nixpkgs, nur, home-manager, ... }@inputs: { outputs = { self, nixpkgs, nur, home-manager, ... }@inputs: {
@@ -19,6 +20,7 @@
nixosConfigurations = { nixosConfigurations = {
anzu = nixpkgs.lib.nixosSystem { anzu = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [ modules = [
# Import the previous configuration.nix we used, # Import the previous configuration.nix we used,
# so the old configuration file still takes effect # so the old configuration file still takes effect