Hyprland from nixpkgs-unstable

This commit is contained in:
2026-04-09 22:34:12 +02:00
parent 6616d8bc0e
commit 3de04e605a
3 changed files with 40 additions and 4 deletions

19
flake.lock generated
View File

@@ -36,10 +36,27 @@
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1775423009,
"narHash": "sha256-vPKLpjhIVWdDrfiUM8atW6YkIggCEKdSAlJPzzhkQlw=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "68d8aa3d661f0e6bd5862291b5bb263b2a6595c9",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"home-manager": "home-manager",
"nixpkgs": "nixpkgs"
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable"
}
}
},

View File

@@ -3,15 +3,25 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, home-manager, ... }: {
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, ... }: {
nixosConfigurations.Prometheus = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
pkgs-unstable = import nixpkgs-unstable {
system = "x86_64-linux";
config.allowUnfree = true;
};
};
modules = [
./hosts/Prometheus/configuration.nix
home-manager.nixosModules.home-manager
@@ -20,6 +30,14 @@
nixosConfigurations.Heracles = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
pkgs-unstable = import nixpkgs-unstable {
system = "x86_64-linux";
config.allowUnfree = true;
};
};
modules = [
./hosts/Heracles/configuration.nix
home-manager.nixosModules.home-manager

View File

@@ -1,4 +1,4 @@
{ pkgs, lib, ... }:
{ pkgs, pkgs-unstable, lib, ... }:
{
nix.settings.experimental-features = [ "nix-command" "flakes" ];
@@ -78,6 +78,7 @@
hyprland = {
enable = true;
withUWSM = false;
package = pkgs-unstable.hyprland;
xwayland.enable = true;
};