-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
77 lines (65 loc) · 1.92 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
{
description = "KeyZox's config";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
unstablepkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:keyzox71/nixos-hardware/master";
catppuccin.url = "github:catppuccin/nix";
home-manager = {
url = "github:nix-community/home-manager/release-24.05";
inputs.nixpkgs.follows = "nixpkgs";
};
fastclass.url = "github:seekrs/fastclass/nixxing";
home-unstable = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "unstablepkgs";
};
keyznvim = {
url = "github:keyzox71/nvim/indev";
inputs.nixpkgs.follows = "unstablepkgs";
};
pogit = {
url = "github:y-syo/pogit";
inputs.nixpkgs.follows = "nixpkgs"; # to use your nixpkgs instance instead of the provided one
};
hyprland-contrib = {
url = "github:hyprwm/contrib";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs@{ self, nixpkgs, unstablepkgs, catppuccin, home-manager, nixos-hardware, ... }:
let
supportedSystems = [ "x86_64-linux" "x86_64-darwin" ];
forSystems = nixpkgs.lib.genAttrs supportedSystems;
inherit (self) outputs;
in
{
nixosConfigurations = {
LAPTOP-5530-ADAM = unstablepkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs outputs; };
modules = [
./hosts/LAPTOP-5530-ADAM/default.nix
catppuccin.nixosModules.catppuccin
/home/adjoly/workspace/nixos-hardware/dell/precision/5530/default.nix
#nixos-hardware.nixosModules.dell-precision-5530
];
};
};
homeManagerConfigurations = {
"42adjoly" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages."x86_64-linux";
modules = [
./home/adjoly/home42.nix
{
home = {
homeDirectory = "/nfs/homes/adjoly";
username = "adjoly";
};
}
];
extraSpecialArgs = { inherit inputs outputs; };
};
};
};
}