-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix.old
More file actions
151 lines (146 loc) · 4.26 KB
/
flake.nix.old
File metadata and controls
151 lines (146 loc) · 4.26 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
description = "My project using personal NUR repository";
inputs = {
# my-home-manager.url = "/home/spiderunderurbed/home-manager/";
# nixcord = {
# url = "github:kaylorben/nixcord"
# };
#<<<<<<< HEAD
#=======
#sober = {
# url = "https://sober.vinegarhq.org/sober.flatpakref";
# flake = false;
#};
#>>>>>>> cdcb124 (Initial commit)
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
stable.url = "github:NixOS/nixpkgs/nixos-24.11";
# stable.url = "github:NixOS/nixpkgs/edf04b75c13c2ac0e54df5ec5c543e300f76f1c9";
# old.url = "github:NixOS/nixpkgs/nixos-23.05";
#secondary.url = "github:NixOS/nixpkgs/nixos-24.11";
auto-cpufreq = {
url = "github:AdnanHodzic/auto-cpufreq";
inputs.nixpkgs.follows = "nixpkgs";
};
envycontrol.url = "github:bayasdev/envycontrol";
lanzaboote = {
url = "github:nix-community/lanzaboote/v0.3.0";
};
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
# nix-revsocks.url = "github:SpiderUnderUrBed/nix-revsocks";
# plasma-manager = {
# url = "github:pjones/plasma-manager";
# inputs.nixpkgs.follows = "nixpkgs";
# inputs.home-manager.follows = "home-manager";
# };
# sublimation.url = "github:SpiderUnderUrBed/sublimation";
nix-software-center.url = "github:snowfallorg/nix-software-center";
arion = {
url = "github:hercules-ci/arion";
inputs.nixpkgs.follows = "nixpkgs";
};
# nix-flatpak.url = "github:gmodena/nix-flatpak";
nix-flatpak.url = "github:gmodena/nix-flatpak";
# nix-flatpak.url = "github:gmodena/nix-flatpak?rev=b4613e797b1306311a675782d886475f8d18bf68";
};
outputs = {
self,
nixpkgs,
auto-cpufreq,
envycontrol,
arion,
#stable,
#old,
#home-manager,
nix-flatpak,
# secondary,
# plasma-manager,
nix-software-center,
flake-compat,
home-manager,
# nix-revsocks,
lanzaboote,
...
} @ inputs :
let
home-setup = builtins.getFlake "/home/spiderunderurbed/home-manager";
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
lib = nixpkgs.lib;
# flakeDir = "/etc/nixos";
in
{
nixosConfigurations.daspidercave = nixpkgs.lib.nixosSystem {
inherit system;
# nixpkgs.overlays = [ final: prev: {
# extraSpecialArgs = {
# inherit inputs; # Pass inputs as extraSpecialArgs
# };
# }];
# nixpkgs.overlays = [
# (final: prev: {
# extraSpecialArgs = {
# inherit inputs; # Pass inputs as extraSpecialArgs
# };
# })
# ];
# imports = [
# (import ./flatpak.nix { inherit inputs })
# ];
specialArgs = { inherit inputs; };
modules = [
lanzaboote.nixosModules.lanzaboote
auto-cpufreq.nixosModules.default
home-setup.homeConfigurations
./vfio.nix
./configuration.nix
./boot.nix
#./flatpak.nix
./registry.nix
./flatpak.nix
#(import ./flatpak.nix { inherit lib pkgs inputs; })
# (import ./registry.nix { inherit lib pkgs inputs config; })
# extraSpecialArgs = {
# inherit inputs;
# }
#inherit inputs;
# })
#<<<<<<< HEAD
# home-manager.nixosModules.home-manager
# {
# home-manager.useGlobalPkgs = true;
# home-manager.useUserPackages = true;
# }
#=======
nix-flatpak.nixosModules.nix-flatpak
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
}
#>>>>>>> cdcb124 (Initial commit)
{
#environment.etc."flake.lock".source = "${flakeDir}/flake.lock";
environment.systemPackages = with pkgs; [
envycontrol.packages.${system}.default
];
# #boot.loader.systemd-boot.enable = pkgs.lib.mkForce false;
# boot.lanzaboote = {
# enable = false;
# #enable = true;
# pkiBundle = "/etc/secureboot";
# };
}
];
};
};
}
#<<<<<<< HEAD
#=======
#>>>>>>> cdcb124 (Initial commit)