mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-20 05:59:51 -07:00
chore: move liminalOS template to minimal
This commit is contained in:
parent
b92370f2b1
commit
1e2bd1ad1f
4 changed files with 0 additions and 60 deletions
33
templates/minimal/flake.nix
Normal file
33
templates/minimal/flake.nix
Normal 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
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue