Repository navigation
Expand file tree
/
Copy pathflake.nix
More file actions
58 lines (46 loc) · 1.36 KB
/
Copy pathflake.nix
File metadata and controls
58 lines (46 loc) · 1.36 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
{
description = "marvin's flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
catppuccin.url = "github:catppuccin/nix";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-hardware = {
url = "github:NixOS/nixos-hardware";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{
self,
nixpkgs,
home-manager,
nixos-hardware,
catppuccin,
}@inputs:
{
nixosConfigurations = {
marvin-thinkpad = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./hosts/marvin-thinkpad/configuration.nix
./modules
catppuccin.nixosModules.catppuccin
home-manager.nixosModules.home-manager
# nixos-hardware.nixosModules.lenovo-thinkpad-x1-13th-gen
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.users.marvin = import ./home-manager/marvin.nix;
home-manager.users.root = import ./home-manager/root.nix;
}
];
};
};
};
}