mirror of
https://github.com/0x1d/nix.git
synced 2026-09-20 08:39:15 +02:00
chore: upgrade nixos to 26.05
yep
This commit is contained in:
29
os/flake.nix
29
os/flake.nix
@@ -2,13 +2,33 @@
|
||||
description = "flake for nixos";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
||||
home-manager.url = "github:nix-community/home-manager/release-25.11";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
|
||||
home-manager.url = "github:nix-community/home-manager/release-26.05";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||
# XRLinuxDriver from https://github.com/wheaney/XRLinuxDriver/pull/80
|
||||
xrlinuxdriver.url = "path:/home/master/src/breezy-desktop-nix";
|
||||
xrlinuxdriver.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager }: {
|
||||
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, xrlinuxdriver }:
|
||||
let
|
||||
breezyPkgs = system: xrlinuxdriver.packages.${system};
|
||||
breezyModule = { gnome ? false }:
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
bp = breezyPkgs pkgs.system;
|
||||
in {
|
||||
imports = [ xrlinuxdriver.nixosModules.default ];
|
||||
services.breezy-desktop = {
|
||||
enable = true;
|
||||
xrlinuxdriver = bp.xrlinuxdriver;
|
||||
breezy-gnome = bp.breezy-gnome;
|
||||
breezy-desktop-ui = bp.breezy-desktop-ui;
|
||||
gnome.enable = gnome;
|
||||
};
|
||||
};
|
||||
in {
|
||||
nixosConfigurations = {
|
||||
gnome = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
@@ -21,6 +41,7 @@
|
||||
./system/desktop/gnome.nix
|
||||
./users/demo.nix
|
||||
./users/master.nix
|
||||
(breezyModule { gnome = true; })
|
||||
];
|
||||
specialArgs = { inherit nixpkgs-unstable; };
|
||||
};
|
||||
@@ -35,6 +56,7 @@
|
||||
./system/desktop/plasma.nix
|
||||
./users/demo.nix
|
||||
./users/master.nix
|
||||
(breezyModule { })
|
||||
];
|
||||
specialArgs = { inherit nixpkgs-unstable; };
|
||||
};
|
||||
@@ -49,6 +71,7 @@
|
||||
./system/desktop/hyprland.nix
|
||||
./users/demo.nix
|
||||
./users/master.nix
|
||||
(breezyModule { })
|
||||
];
|
||||
specialArgs = { inherit nixpkgs-unstable; };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user