-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
48 lines (41 loc) · 1.69 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
# /***** /****** /****
# |* *| |* | |* **** ** ***** |* | /* *
# |* *| |* | |* /* /* * |* | |* | |*
# |*****/ |* | |* **** /* * |* / |* | ******
# | |* | |* | ****** ***** |* | |
# | |* | |* * | |* | |* * |* | * |
# | **** ***** **** |* | |* * ****** *****
#
# ==========================================================================
# This is the default PulsarOS on-device server configuration flake.
# It loads your remote configuration,
# in conjunction with the PulsarOS default configuration,
# and builds your system environment.
# You can change the versions of the inputs to revert
# to previous system configurations.
# However, you should keep this flake's lockfile,
# so you can declaratively restore packages to previous versions if necessary.
description = "On-device system configuration flake";
inputs = {
# PulsarOS uses the latest nixpkgs channel,
# so new (but somewhat? stable) packages are used by default.
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11-small";
# PulsarOS
pulsaros.url = "github:quantum9innovation/pulsaros/main";
# Server configuration
config.url = "github:arcturusnavigation/atlantic/main";
};
outputs =
{
nixpkgs,
pulsaros,
config,
...
}:
{
# Build the system
nixosConfigurations.atlantic = (pulsaros.make config).system;
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
};
}