-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
executable file
·39 lines (37 loc) · 1.15 KB
/
Copy pathflake.nix
File metadata and controls
executable file
·39 lines (37 loc) · 1.15 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
35
36
37
38
39
{
description = "A nixOS/home-manager configuration 'in progress'";
# Flake references used to build NixOS setup; these are dependencies
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
claude-code.url = "github:sadjow/claude-code-nix";
claude-code.inputs.nixpkgs.follows = "nixpkgs";
codex-cli.url = "github:sadjow/codex-cli-nix";
codex-cli.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, home-manager, claude-code, codex-cli, ... }:
let
mkHost = import ./lib/make-host.nix { inherit nixpkgs home-manager; };
overlays = [
claude-code.overlays.default
codex-cli.overlays.default
(import ./overlays/pkgs.nix)
];
in {
nixosConfigurations = {
kuato = mkHost {
host = "kuato";
user = "cornholio";
homeModule = ./home.nix;
inherit overlays;
};
stultiloquator = mkHost {
host = "stultiloquator";
user = "cornholio";
homeModule = ./home.nix;
inherit overlays;
};
};
};
}