-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflake.nix
More file actions
95 lines (83 loc) · 2.36 KB
/
flake.nix
File metadata and controls
95 lines (83 loc) · 2.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
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
{
description = "siddhi's flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
spicetify-nix.url = "github:Gerg-L/spicetify-nix";
zen-browser-source.url = "github:youwen5/zen-browser-flake";
nixcord.url = "github:KaylorBen/nixcord";
lazyvim-nix.url = "github:jla2000/lazyvim-nix";
syd.url = "github:sidharthify/syd";
nix-flatpak.url = "github:gmodena/nix-flatpak";
parsecgaming.url = "github:DarthPJB/parsec-gaming-nix";
aerothemeplasma-nix = {
url = "github:nyakase/aerothemeplasma-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
arnis.url = "github:louis-e/arnis";
};
outputs = {
self,
nixpkgs,
home-manager,
spicetify-nix,
zen-browser-source,
nixcord,
lazyvim-nix,
syd,
nix-flatpak,
parsecgaming,
aerothemeplasma-nix,
arnis,
...
}@inputs:
let
system = "x86_64-linux";
in {
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs; };
modules = [
({ pkgs, ... }: {
nixpkgs.overlays = [
(final: prev: {
parsecgaming =
parsecgaming.packages.${system}.parsecgaming;
})
];
})
./nixos/configuration.nix
aerothemeplasma-nix.nixosModules.aerothemeplasma-nix
nix-flatpak.nixosModules.nix-flatpak
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.sidharthify = {
imports = [
./home/home.nix
./home/spicetify.nix
./home/vscodium.nix
./home/nixcord.nix
];
};
home-manager.sharedModules = [
inputs.nixcord.homeModules.nixcord
];
home-manager.extraSpecialArgs = {
inherit spicetify-nix lazyvim-nix;
};
}
({ pkgs, ... }: {
environment.systemPackages = [
zen-browser-source.packages.${system}.default
syd.packages.${system}.default
pkgs.parsecgaming
arnis.packages.${system}.default
];
})
];
};
};
}