commit
This commit is contained in:
30
flake.nix
30
flake.nix
@@ -1,13 +1,37 @@
|
||||
{
|
||||
description = "A very basic flake";
|
||||
description = "LESA OS";
|
||||
|
||||
inputs = {
|
||||
# dafault unstable
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||
|
||||
#latest stable
|
||||
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-25.05";
|
||||
|
||||
zen-browser = {
|
||||
url = "github:0xc000022070/zen-browser-flake";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs }: {
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
nixpkgs-stable,
|
||||
zen-browser,
|
||||
...
|
||||
} @ inputs: {
|
||||
nixosConfigurations.ArcticFox = nixpkgs.lib.nixosSystem {
|
||||
modules = [ ./configuration.nix ];
|
||||
specialArgs = let
|
||||
system = "x86_64-linux";
|
||||
in {
|
||||
inherit inputs;
|
||||
pkgs-stable = import nixpkgs-stable {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
};
|
||||
modules = [./configuration.nix];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user