Trying to figure out unstable packages
This commit is contained in:
parent
f26253278b
commit
fdcf413707
3 changed files with 105 additions and 12 deletions
35
nixos/flake.nix
Normal file
35
nixos/flake.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
description = "Aria's system flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-24.11";
|
||||
unstable.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||
|
||||
home-manger.url = "github:nix-community/home-manager";
|
||||
home-manger.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ nixpkgs, unstable, ... }@inputs:
|
||||
# let
|
||||
# system = "x86_64-linux";
|
||||
# pkgs = import nixpkgs {
|
||||
# inherit system;
|
||||
# config.allowUnfree = true;
|
||||
# };
|
||||
# unstable = import nixpkgs-unstable {
|
||||
# inherit system;
|
||||
# config.allowUnfree = true;
|
||||
# };
|
||||
# in
|
||||
{
|
||||
|
||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./configuration.nix
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue