Repository navigation
Expand file tree
/
Copy pathflake.nix
More file actions
58 lines (56 loc) · 1.43 KB
/
Copy pathflake.nix
File metadata and controls
58 lines (56 loc) · 1.43 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
inputs = {
nixpkgs.url = "nixpkgs/f20cd90e28fe0403873f473b29e42662cd86e8c4";
nix-darwin = {
url = "github:nix-darwin/nix-darwin/master";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-homebrew.url = "github:zhaofengli/nix-homebrew";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
stylix = {
url = "github:danth/stylix";
inputs.nixpkgs.follows = "nixpkgs";
};
sshf = {
url = "github:theoborealis/sshf";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-index-database = {
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
inputs@{ ... }:
let
linuxUser = "admin";
workUser = "work";
androidUser = "u0_a305";
darwinUser = "admin";
in
{
darwinConfigurations."mac" = import ./darwin {
inherit inputs;
username = darwinUser;
};
homeConfigurations = {
"${androidUser}@android" = import ./android {
inherit inputs;
username = androidUser;
};
"${linuxUser}@linux" = import ./linux {
inherit inputs;
username = linuxUser;
profile = "admin";
};
"${workUser}@linux" = import ./linux {
inherit inputs;
username = workUser;
profile = "work";
};
};
};
}