-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
68 lines (62 loc) · 1.78 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
description = "❄ jeff's os flake ❄";
# Define the inputs to the flake "function"
inputs = {
# Nix Modules: https://nixos.org/manual/nixpkgs/unstable/#sec-config-options-reference
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-24.11-darwin";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
# Nix Modules (macOs): https://daiderd.com/nix-darwin/manual/index.html
nix-darwin.url = "github:nix-darwin/nix-darwin/nix-darwin-24.11";
nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
};
# Define the results returned from the flake "function"
outputs = inputs:
let
ds = inputs.nix-darwin.lib.darwinSystem;
ns = inputs.lib.nixosSystem;
in
{
# personal M2
darwinConfigurations."Midnight-Air" = ds {
modules = [
./machine/macbook_m.nix
./desktop/aqua.nix
];
};
# work M4
darwinConfigurations."WKMZTAFD6544" = ds {
modules = [
./machine/macbook_m.nix
./desktop/aqua.nix
];
};
# personal linux laptop
nixosConfigurations."frame" = ns {
# Work in Progress
modules = [
./machine/framework13.nix
./desktop/gnome.nix
./packages
{
config.packages = {
# guis
chatgpt.enable = true;
firefox.enable = true;
google-chrome.enable = true;
nyxt.enable = true;
spotify.enable = true;
zed-editor.enable = true;
# clis / tuis
git.enable = true;
helix.enable = true;
modern-cli-tools.enable = true;
mono-fonts.enable = true;
network-utils.enable = true;
nushell.enable = true;
zsh.enable = true;
};
}
];
};
};
}