-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
55 lines (49 loc) · 1.44 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
{
description = "egirlcatnip's configuration";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
home-manager.url = "github:nix-community/home-manager/release-24.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:nixos/nixos-hardware";
nix-flatpak.url = "github:gmodena/nix-flatpak";
nix-vscode-extensions.url = "github:nix-community/nix-vscode-extensions";
catppuccin.url = "github:catppuccin/nix";
nix-ld.url = "github:Mic92/nix-ld";
nix-alien.url = "github:thiagokokada/nix-alien";
};
outputs = inputs @ {
nixpkgs,
nixpkgs-unstable,
nixos-hardware,
nix-flatpak,
#nix-vscode-extensions,
catppuccin,
home-manager,
nix-ld,
...
}: {
nixosConfigurations = {
atreides = nixpkgs.lib.nixosSystem {
specialArgs = {
username = "egirlcatnip";
dotfiles = ./dotfiles;
system = "x86_64-linux";
inherit inputs;
};
modules = [
# Zephyrus G14 2022
nixos-hardware.nixosModules.asus-zephyrus-ga402
# Machine specific configuration
./machines/atreides
# Configurations
./config
# Tools used
home-manager.nixosModules.home-manager
nix-flatpak.nixosModules.nix-flatpak
catppuccin.nixosModules.catppuccin
nix-ld.nixosModules.nix-ld
];
};
};
};
}