-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
56 lines (49 loc) · 1.48 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
let
combinedManager = import (builtins.fetchTarball {
url = "https://github.com/flafydev/combined-manager/archive/1741d07e3c2031f39cef8279acd4f172a3b058da.tar.gz"; # Replace REV with the current revision of Combined Manager.
sha256 = "1qvjwmbkkplflz6bhahdbag1bld4y4icm9lm8634x5f6rjjp5fha"; # Replace HASH with the corresponding hash.
});
in
combinedManager.mkFlake {
description = "yet another another flake";
lockFile = ./flake.lock;
initialInputs = {
combined-manager.url = "github:Noah765/combined-manager";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-parts.url = "github:hercules-ci/flake-parts";
#for colorshemes
basix.url = "github:NotAShelf/Basix";
#for wallpaper
wallpkgs.url = "github:dennkaii/wallpkgs";
};
globalModules = [
./modules
];
configurations = {
Aethyr = {
modules = [
./hosts/Aethyr
];
};
};
outputs = inputs @ {
flake-parts,
self,
...
}:
flake-parts.lib.mkFlake {inherit inputs self;} {
systems = [
"x86_64-linux"
];
perSystem = {pkgs, ...}: {
formatter = pkgs.alejandra;
};
};
}
# TOOK as reference
# https://github.com/n3oney/nixus/blob/main/flake.nix
# https://github.com/FlafyDev/nixos-config/blob/main/flake.nix