-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
98 lines (85 loc) · 2.48 KB
/
Copy pathflake.nix
File metadata and controls
98 lines (85 loc) · 2.48 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
description = "Nixos config flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland.url = "github:hyprwm/Hyprland?tag=v0.53.3";
hyprland-contrib = {
url = "github:hyprwm/contrib";
inputs.nixpkgs.follows = "hyprland/nixpkgs";
};
hyprlock = {
url = "github:hyprwm/hyprlock";
inputs = {
hyprgraphics.follows = "hyprland/hyprgraphics";
hyprlang.follows = "hyprland/hyprlang";
hyprutils.follows = "hyprland/hyprutils";
nixpkgs.follows = "hyprland/nixpkgs";
systems.follows = "hyprland/systems";
};
};
hyprpaper = {
url = "github:hyprwm/hyprpaper";
inputs = {
hyprgraphics.follows = "hyprland/hyprgraphics";
hyprlang.follows = "hyprland/hyprlang";
hyprutils.follows = "hyprland/hyprutils";
nixpkgs.follows = "hyprland/nixpkgs";
systems.follows = "hyprland/systems";
};
};
zen-browser = {
url = "github:youwen5/zen-browser-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
claude-code = {
url = "github:sadjow/claude-code-nix";
inputs = {
nixpkgs.follows = "nixpkgs";
#flake-utils.follows = "flake-utils";
};
};
claude-desktop = {
url = "github:aaddrick/claude-desktop-debian";
inputs = {
nixpkgs.follows = "nixpkgs";
#flake-utils.follows = "flake-utils";
};
};
# in your flake inputs
kitty-src = {
url = "github:kovidgoyal/kitty";
flake = false;
};
};
outputs = {
self,
nixpkgs,
home-manager,
sops-nix,
...
} @ inputs: {
nixosConfigurations."thinkpad" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {inherit inputs;};
modules = [
./nixos/configuration.nix
home-manager.nixosModules.home-manager # Enable the home-manager module
sops-nix.nixosModules.sops
{
home-manager.extraSpecialArgs = {inherit inputs;};
home-manager.useGlobalPkgs = true; # Use the system's package set
home-manager.useUserPackages = true; # Install packages to user profile
home-manager.users.travis = import ./nixos/home.nix; # Your home config
}
];
};
};
}