-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
34 lines (32 loc) · 1 KB
/
flake.nix
File metadata and controls
34 lines (32 loc) · 1 KB
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
{
description = "System-manager config for CUA desktop environment (VNC + XFCE + CUA API)";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
system-manager = {
url = "github:numtide/system-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
comin = {
url = "github:trycua/comin/claude/add-system-manager-guide-EWK3t";
inputs.nixpkgs.follows = "nixpkgs";
};
novnc-src = {
url = "github:trycua/noVNC";
flake = false;
};
};
outputs = { self, nixpkgs, system-manager, comin, novnc-src, ... }:
let
mkConfig = hostPlatform: system-manager.lib.makeSystemConfig {
modules = [
({ lib, ... }: { nixpkgs.hostPlatform = lib.mkForce hostPlatform; })
comin.systemManagerModules.comin
{ _module.args.novnc-src = novnc-src; }
./configuration.nix
];
};
in {
systemConfigs.system-manager-test = mkConfig "x86_64-linux";
systemConfigs.system-manager-test-arm = mkConfig "aarch64-linux";
};
}