Shayne's budget Flake
Shayne's budget Flakeunknown
nix
3 days ago
866 B
18
Indexable
{
description = "My NixOS configuration with stable + unstable";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, nixpkgs-unstable, ... }@inputs:
let
system = "x86_64-linux";
unstablePkgs = import nixpkgs-unstable {
inherit system;
config = { allowUnfree = true; };
};
pkgs = import nixpkgs {
inherit system;
config = { allowUnfree = true; };
};
packages = import ./packages.nix { inherit pkgs unstablePkgs; };
in
{
nixosConfigurations.laptop = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
./configuration.nix
{ environment.systemPackages = packages.all; }
];
pkgs = pkgs;
};
};
}
Editor is loading...
Leave a Comment