Very basic flake setup

This commit is contained in:
BuyMyMojo 2025-03-25 02:37:29 +11:00
parent fdcf413707
commit ec48f357df
Signed by untrusted user who does not match committer: aria
GPG key ID: 19AB7AA462B8AB3B
2 changed files with 22 additions and 19 deletions

View file

@ -11,21 +11,23 @@
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
let
system = "x86_64-linux";
in
{
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
specialArgs = {
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
unstable = import unstable {
inherit system;
config.allowUnfree = true;
};
};
modules = [
./configuration.nix
];