0xda157's home-manager and nixos config
1{
2 description = "0xda157's home-manager and nixos config";
3
4 outputs =
5 inputs:
6 inputs.flake-parts.lib.mkFlake { inherit inputs; } {
7 imports = [ ./modules ];
8
9 systems = import inputs.systems;
10 };
11
12 nixConfig = {
13 commit-lock-file-summary = "flake.lock: update";
14 allow-import-from-derivation = false;
15 experimental-features = [
16 "nix-command"
17 "flakes"
18 "pipe-operators"
19 ];
20 };
21
22 inputs = {
23 nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
24
25 flake-parts = {
26 url = "github:hercules-ci/flake-parts";
27 inputs.nixpkgs-lib.follows = "nixpkgs";
28 };
29
30 systems = {
31 url = ./systems.nix;
32 flake = false;
33 };
34
35 # keep-sorted start block=yes newline_separated=yes
36 disko = {
37 url = "github:nix-community/disko";
38 inputs.nixpkgs.follows = "nixpkgs";
39 };
40
41 git-hooks = {
42 url = "github:cachix/git-hooks.nix";
43 inputs = {
44 nixpkgs.follows = "nixpkgs";
45 flake-compat.follows = "";
46 };
47 };
48
49 home-manager = {
50 url = "github:nix-community/home-manager";
51 inputs.nixpkgs.follows = "nixpkgs";
52 };
53
54 nixos-hardware.url = "github:nixos/nixos-hardware/master";
55
56 nixvim-cfg = {
57 url = "https://codeberg.org/da157/nixvim-cfg/archive/main.tar.gz";
58 inputs = {
59 nixpkgs.follows = "nixpkgs";
60 systems.follows = "systems";
61 flake-parts.follows = "flake-parts";
62 };
63 };
64
65 nur = {
66 url = "github:nix-community/nur";
67 inputs = {
68 nixpkgs.follows = "nixpkgs";
69 flake-parts.follows = "flake-parts";
70 };
71 };
72
73 pkgs-by-name-for-flake-parts.url = "github:drupol/pkgs-by-name-for-flake-parts";
74
75 porcelain = {
76 url = "https://codeberg.org/da157/porcelain/archive/main.tar.gz";
77 inputs.nixpkgs.follows = "nixpkgs";
78 };
79
80 sops-nix = {
81 url = "github:mic92/sops-nix";
82 inputs.nixpkgs.follows = "nixpkgs";
83 };
84
85 stylix = {
86 url = "github:nix-community/stylix";
87 inputs = {
88 nixpkgs.follows = "nixpkgs";
89 systems.follows = "systems";
90 flake-parts.follows = "flake-parts";
91 nur.follows = "nur";
92 };
93 };
94
95 vicinae = {
96 url = "github:vicinaehq/vicinae";
97 inputs = {
98 nixpkgs.follows = "nixpkgs";
99 systems.follows = "systems";
100 };
101 };
102
103 vicinae-extensions = {
104 url = "github:vicinaehq/extensions";
105 inputs = {
106 nixpkgs.follows = "nixpkgs";
107 systems.follows = "systems";
108 vicinae.follows = "vicinae";
109 };
110 };
111
112 wallpapers = {
113 url = "https://codeberg.org/da157/wallpapers/archive/main.tar.gz";
114 inputs.nixpkgs-lib.follows = "nixpkgs";
115 };
116
117 zen-browser = {
118 url = "github:0xc000022070/zen-browser-flake";
119 inputs = {
120 nixpkgs.follows = "nixpkgs";
121 home-manager.follows = "home-manager";
122 };
123 };
124 # keep-sorted end
125 };
126}