-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
65 lines (61 loc) · 1.64 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
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
pkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
home-manager = {
url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs";
};
zen-browser.url = "github:MarceColl/zen-browser-flake";
catppuccin-discord = {
url = "https://catppuccin.github.io/discord/dist/catppuccin-mocha-mauve.theme.css";
flake = false;
};
catppuccin.url = "github:catppuccin/nix";
};
outputs = {
nixpkgs,
home-manager,
catppuccin-discord,
catppuccin,
pkgs-unstable,
zen-browser,
...
}: let
personal_info = import ./personal.nix;
in {
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
specialArgs = {
inherit personal_info;
unstable = import pkgs-unstable {
inherit system;
};
};
modules = [
./imports.nix
catppuccin.nixosModules.catppuccin
home-manager.nixosModules.home-manager
{
environment.systemPackages = [
zen-browser.packages."${system}".specific
];
}
{
catppuccin.enable = true;
home-manager = {
extraSpecialArgs = {
inherit personal_info;
inherit catppuccin-discord;
unstable = import pkgs-unstable {
inherit system;
};
};
useGlobalPkgs = true;
users.tatesa.imports = [./home-manager.nix catppuccin.homeManagerModules.catppuccin];
};
}
];
};
};
}