Added the unstable channel. Now use the unstable version of hyprland

This commit is contained in:
Tomas Rivera
2026-03-06 18:23:20 +01:00
parent d2e91ca825
commit 8811f23d50
4 changed files with 97 additions and 101 deletions
+7 -2
View File
@@ -4,6 +4,7 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable"; # used for some packages
home-manager = {
url = "github:nix-community/home-manager/release-25.11";
inputs.nixpkgs.follows = "nixpkgs";
@@ -14,15 +15,19 @@
# url = "github:nix-community/nixvim/nixos-25.11";
# };
outputs = { self, nixpkgs, home-manager,... }@inputs:
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager,... }@inputs:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
pkgs-unstable = import nixpkgs-unstable {
inherit system;
config.allowUnfree = false;
};
in
{
nixosConfigurations = {
laptop = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs;};
specialArgs = { inherit inputs pkgs-unstable;};
modules = [
./hosts/laptop/configuration.nix
];