-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
96 lines (82 loc) · 2.19 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
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
{
description = "cfg";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nur.url = "github:nix-community/NUR";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
hardware.url = "github:nixos/nixos-hardware";
programsdb.url = "github:wamserma/flake-programs-sqlite";
programsdb.inputs.nixpkgs.follows = "nixpkgs";
hyprland.url = "github:hyprwm/Hyprland";
hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins";
inputs.hyprland.follows = "hyprland";
};
ags.url = "github:Aylur/ags";
spicetify-nix.url = "github:the-argus/spicetify-nix";
lf-icons = {
url = "github:gokcehan/lf";
flake = false;
};
more-waita = {
url = "github:somepaulo/MoreWaita";
flake = false;
};
firefox-gnome-theme = {
url = "github:rafaelmardojai/firefox-gnome-theme";
flake = false;
};
betterfox = {
url = "https://raw.githubusercontent.com/yokoffing/Betterfox/main/user.js";
flake = false;
};
};
outputs = {
nixpkgs,
home-manager,
nur,
hardware,
hyprland,
ags,
lf-icons,
spicetify-nix,
...
} @ inputs: let
username = "zoushie";
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
in {
nixosConfigurations."miya" = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs username system;};
modules = [
./hosts/desktop/configuration.nix
];
};
nixosConfigurations."swift" = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs username system;};
modules = [
./hosts/laptop/configuration.nix
];
};
nixosConfigurations."kana" = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs username system;};
modules = [
./hosts/server/configuration.nix
];
};
homeConfigurations."${username}" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {inherit inputs username spicetify-nix;};
modules = [
nur.nixosModules.nur
./home/home.nix
];
};
};
}