My Nix Configuration

[flake] Update lockfile

Changed files
+55 -52
+23 -6
flake.lock
···
]
},
"locked": {
-
"lastModified": 1711742460,
-
"narHash": "sha256-0O4v6e4a1toxXZ2gf5INhg4WPE5C5T+SVvsBt+45Mcc=",
+
"lastModified": 1717279440,
+
"narHash": "sha256-kH04ReTjxOpQumgWnqy40vvQLSnLGxWP6RF3nq5Esrk=",
"owner": "zhaofengli",
"repo": "attic",
-
"rev": "4dbdbee45728d8ce5788db6461aaaa89d98081f0",
+
"rev": "717cc95983cdc357bc347d70be20ced21f935843",
"type": "github"
},
"original": {
···
]
},
"locked": {
-
"lastModified": 1716725378,
-
"narHash": "sha256-bNTVDAVBLFSSTU+q54cJnntmFKBi+F/D8sSqlZwBGiM=",
+
"lastModified": 1717330178,
+
"narHash": "sha256-rRZjmC3xcPpHTJHnEy3T99O86Ecjao5YhakzaoNiRcs=",
"owner": "nix-community",
"repo": "lib-aggregate",
-
"rev": "dbc9130fe1455e0f6ee4d8f5f799f9be551f866b",
+
"rev": "64d43e2bbc6eab8d1cbdfba96d90a71e15a847d7",
"type": "github"
},
"original": {
···
"nvim": "nvim",
"prismlauncher": "prismlauncher",
"snowfall": "snowfall",
+
"stable": "stable",
"systems": "systems_2",
"wayland": "wayland"
···
"original": {
"owner": "snowfallorg",
"repo": "lib",
+
"type": "github"
+
}
+
},
+
"stable": {
+
"locked": {
+
"lastModified": 1717144377,
+
"narHash": "sha256-F/TKWETwB5RaR8owkPPi+SPJh83AQsm6KrQAlJ8v/uA=",
+
"owner": "nixos",
+
"repo": "nixpkgs",
+
"rev": "805a384895c696f802a9bf5bf4720f37385df547",
+
"type": "github"
+
},
+
"original": {
+
"owner": "nixos",
+
"ref": "nixos-24.05",
+
"repo": "nixpkgs",
"type": "github"
},
+32 -46
flake.nix
···
experimental-features = "nix-command flakes";
substitute = "true";
extra-substituters = [
-
# Main NixOS Cache
"https://cache.nixos.org"
-
# Colmena Cache
"https://colmena.cachix.org"
-
# Crane Cache
"https://crane.cachix.org"
-
# A bunch of nix community projects
"https://isabelroses.cachix.org"
-
# A bunch of nix community projects
"https://nix-community.cachix.org"
-
# Nightly wayland packages
"https://nixpkgs-wayland.cachix.org"
-
# For nh
"https://viperml.cachix.org"
-
# Lix
"https://cache.lix.systems"
];
trusted-public-keys = [
···
description = "PyroNet machines and services";
inputs = {
-
# Snowfall Lib
snowfall = {
url = "github:snowfallorg/lib";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
+
stable.url = "github:nixos/nixpkgs/nixos-24.05";
nixpkgs-mesa.url = "github:K900/nixpkgs/mesa-24.1";
nixpkgs-nvim.url = "github:nixos/nixpkgs?rev=d5786c1b5dd2d560724b78f3ce51f1f4ef52d053";
-
# Override certain inputs for other repos to reduce lockfile size and increase code sharing.
+
# Overrides
flake-compat.url = "github:edolstra/flake-compat";
systems.url = "github:nix-systems/default";
flake-parts = {
···
inputs.systems.follows = "systems";
};
nixpkgs-lib.url = "github:nix-community/nixpkgs.lib";
-
# Actual inputs
+
+
# Inputs
agenix = {
url = "github:ryantm/agenix";
inputs = {
···
url = "git+https://iceshrimp.dev/pyrox/packaging";
inputs.nixpkgs.follows = "nixpkgs";
};
-
# lanzaboote = {
-
# url = "github:nix-community/lanzaboote/11e293475de0c010f86060f0ed74aafe5f593e8b";
-
# inputs.flake-compat.follows = "flake-compat";
-
# inputs.flake-utils.follows = "flake-utils";
-
# };
lix = {
url = "git+https://git.lix.systems/lix-project/lix";
flake = false;
···
self.overlays.alejandra
self.overlays.mesa
self.overlays.nix-index
+
self.overlays.nixos-option
inputs.my-pkgs.overlays.cinny
inputs.golink.overlay
-
# inputs.lanzaboote.overlays.default
-
inputs.lix-module.overlays.default
+
# inputs.lix-module.overlays.default
inputs.neovim.overlay
inputs.nixd.overlays.default
inputs.nur.overlay
···
# NixOS Configurations
systems = {
+
# Modules for all systems
modules.nixos = with inputs; [
ctp.nixosModules.catppuccin
lix-module.nixosModules.default
agenix.nixosModules.default
];
hosts = {
-
# Zaphod, my personal Framework 16 laptop
-
zaphod.modules = with inputs; [ hardware.nixosModules.framework-16-7040-amd ];
+
# Zaphod, my personal Framework 16 laptop
+
zaphod.modules = with inputs; [
+
hardware.nixosModules.framework-16-7040-amd
+
lix-module.nixosModules.default
+
];
-
# Prefect, my main VPS
-
prefect.modules = with inputs; [
-
self.nixosModules.dn42Pingfinder
-
mailserver.nixosModule
-
];
+
# Prefect, my main VPS
+
prefect.modules = with inputs; [ mailserver.nixosModule ];
-
# (Deep) Thought, a WIP VPS
-
thought.modules = with inputs; [ self.nixosModules.dn42Pingfinder ];
+
# (Deep) Thought, a WIP VPS
+
thought.modules = [ self.nixosModules.dn42Pingfinder ];
-
# Marvin, my main homelab machine
-
marvin.modules = with inputs; [
-
self.nixosModules.forgejoRunner
-
iceshrimp.nixosModules.default
-
golink.nixosModules.default
-
buildbot-nix.nixosModules.buildbot-master
-
buildbot-nix.nixosModules.buildbot-worker
-
];
+
# Marvin, my main homelab machine
+
marvin.modules = with inputs; [
+
iceshrimp.nixosModules.default
+
golink.nixosModules.default
+
buildbot-nix.nixosModules.buildbot-master
+
buildbot-nix.nixosModules.buildbot-worker
+
];
};
};
-
outputs-builder =
-
channels:
-
{
-
# Define default packages to use everywhere
-
packages = {
-
nvim = inputs.nvim.packages.${channels.nixpkgs.system}.neovim;
-
customGit = channels.nixpkgs.git.override {
-
withLibsecret = true;
-
withSsh = true;
-
};
+
outputs-builder = channels: {
+
# Define default packages to use everywhere
+
packages = {
+
nvim = inputs.nvim.packages.${channels.nixpkgs.system}.neovim;
+
customGit = channels.nixpkgs.git.override {
+
withLibsecret = true;
+
withSsh = true;
};
-
formatter = channels.nixpkgs.nixfmt-rfc-style;
};
+
formatter = channels.nixpkgs.nixfmt-rfc-style;
+
};
};
}