chore: move liminalOS template to minimal

This commit is contained in:
Youwen Wu 2024-12-31 16:49:00 -08:00
parent b92370f2b1
commit 1e2bd1ad1f
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
4 changed files with 0 additions and 60 deletions

View file

@ -0,0 +1,33 @@
{
description = "Test standalone liminalOS system";
inputs = {
# Follow the nixpkgs in liminalOS, which is verified to build properly before release.
nixpkgs.follows = "liminalOS/nixpkgs";
liminalOS.url = "github:youwen5/liminalOS/modules-refactor";
# Alternatively, pin your own nixpkgs and set liminalOS to follow it, as shown below.
# nixpkgs.follows = "github:nixos/nixpkgs?ref=nixos-unstable";
# liminalOS.url = "github:youwen5/liminalOS/modules-refactor";
# liminalOS.inputs.nixpkgs.follows = "nixpkgs";
# Either way, you should ensure that liminalOS shares nixpkgs with your
# system to avoid any weird conflicts.
};
outputs =
inputs@{ nixpkgs, liminalOS, ... }:
{
# Execute sudo nixos-rebuild switch --flake .#liminalOS
nixosConfigurations = {
liminalOS = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
liminalOS.nixosModules.default
./configuration.nix
];
};
};
};
}