- Add nixpkgs-unstable input to flake.nix - Configure specialArgs to pass pkgs-unstable to all system configs - Update desktop/dev.nix to use windsurf from unstable packages - Create comprehensive documentation in README-hybrid-packages.md - Enable selective use of cutting-edge packages while maintaining system stability Usage: Add pkgs-unstable parameter to any .nix file and use pkgs-unstable.package-name Example: pkgs-unstable.windsurf for latest Windsurf editor
92 lines
2.7 KiB
Nix
92 lines
2.7 KiB
Nix
{
|
|
description = "Julian's system configuration";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixos-24.05";
|
|
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-24.05";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
plasma-manager = {
|
|
url = "github:nix-community/plasma-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.home-manager.follows = "home-manager";
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, plasma-manager }: {
|
|
nixosConfigurations = {
|
|
framework = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = {
|
|
pkgs-unstable = import nixpkgs-unstable {
|
|
system = "x86_64-linux";
|
|
config.allowUnfree = true;
|
|
};
|
|
};
|
|
modules = [
|
|
home-manager.nixosModules.home-manager
|
|
nixos-hardware.nixosModules.framework-16-7040-amd
|
|
./systems/common.nix
|
|
./systems/framework.nix
|
|
./users/jsutter.nix
|
|
./desktop/plasma.nix
|
|
./desktop/dev.nix
|
|
./desktop/office.nix
|
|
./desktop/gaming.nix
|
|
./desktop/virtualization.nix
|
|
./desktop/daw.nix
|
|
./desktop/crypto.nix
|
|
];
|
|
};
|
|
aurora = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = {
|
|
pkgs-unstable = import nixpkgs-unstable {
|
|
system = "x86_64-linux";
|
|
config.allowUnfree = true;
|
|
};
|
|
};
|
|
modules = [
|
|
home-manager.nixosModules.home-manager
|
|
./systems/common.nix
|
|
./systems/aurora.nix
|
|
./users/jsutter.nix
|
|
./desktop/plasma.nix
|
|
./desktop/dev.nix
|
|
./desktop/virtualization.nix
|
|
./desktop/office.nix
|
|
./desktop/gaming.nix
|
|
./desktop/crypto.nix
|
|
];
|
|
};
|
|
labrizor = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
home-manager.nixosModules.home-manager
|
|
./systems/common.nix
|
|
./systems/labrizor.nix
|
|
./users/jsutter.nix
|
|
./users/isutter.nix
|
|
./users/aksutter.nix
|
|
./desktop/plasma.nix
|
|
./desktop/3dprinting.nix
|
|
./desktop/2dprinting.nix
|
|
./desktop/office.nix
|
|
];
|
|
};
|
|
skip01 = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
home-manager.nixosModules.home-manager
|
|
./systems/common.nix
|
|
./systems/skip01.nix
|
|
./users/jsutter.nix
|
|
./servers/common.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|