-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
78 lines (63 loc) · 2.08 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
{
description = "Personal NixOS configuration";
outputs = inputs@{ self, nixpkgs, home-manager, nixos-hardware, hyprland, ... }:
let
myLib = import ./lib inputs;
in
myLib.initFlake [ "x86_64-linux" ] { allowUnfree = true; } ({ pkgs, system, ... }: {
nixosConfigurations = import ./hosts { inherit self myLib; };
packages.${system} = pkgs.callPackage ./pkgs { inherit myLib; };
});
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.05";
nixos-hardware.url = "github:nixos/nixos-hardware";
# nixos-hardware.url = "github:4JX/nixos-hardware";
home-manager = {
url = "github:nix-community/home-manager/master";
# url = "github:nix-community/home-manager/release-23.05";
inputs.nixpkgs.follows = "nixpkgs";
};
# Used for the pipewire low latency module
nix-gaming = {
url = "github:fufexan/nix-gaming";
inputs.nixpkgs.follows = "nixpkgs";
};
# Hyprland and co.
hyprland.url = "github:hyprwm/Hyprland";
xdg-portal-hyprland = {
url = "github:hyprwm/xdg-desktop-portal-hyprland";
#inputs.nixpkgs.follows = "nixpkgs";
};
# Makes command-not-found work
programsdb = {
url = "github:wamserma/flake-programs-sqlite";
inputs.nixpkgs.follows = "nixpkgs";
};
# Are you paranoid enough yet?
arkenfox = {
url = "github:arkenfox/user.js";
flake = false;
};
# Secrets management
sops-nix = {
url = "github:Mic92/sops-nix";
# optional, not necessary for the module
inputs.nixpkgs.follows = "nixpkgs";
};
# Basic theme-ing integration, might consider stylix
nix-colors = {
url = "github:misterio77/nix-colors";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
# -- Extra packages --
legion-kb-rgb = {
url = "github:4JX/L5P-Keyboard-RGB/deps-update";
inputs.nixpkgs.follows = "nixpkgs";
};
compose2nix = {
url = "github:aksiksi/compose2nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
}