mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-08-24 10:04:09 -05:00
• Updated input 'disko':
'github:nix-community/disko/32f4236bfc141ae930b5ba2fb604f561fed5219d?narHash=sha256-gC9Cp5ibBmGD5awCA9z7xy6MW6iJufhazTYJOiGlCUI%3D' (2026-04-19)
→ 'github:nix-community/disko/ff8702b4de27f72b4c78573dfb89ec74e36abdf1?narHash=sha256-RxWs5ND31KzTG7wvMM%2BPMfUjyNpmIEr999lqNARaM5o%3D' (2026-06-11)
• Updated input 'firefox-addons':
'gitlab:rycee/nur-expressions/8a444a5c02840666c9c2f92042bfbb7a10c68200?dir=pkgs/firefox-addons&narHash=sha256-bQ9oIcNyHsiagt7yptfe7OmfUDEyuXFUb7ajkrWNzSo%3D' (2026-04-30)
→ 'gitlab:rycee/nur-expressions/a5ad6b67a2f1ff6bd9f676ff2eee53c2f5187f88?dir=pkgs/firefox-addons&narHash=sha256-CBYbKi6gcjHvlxYYoTduennOprxQtUMQfMlRmcg8ONc%3D' (2026-06-22)
• Updated input 'hardware':
'github:nixos/nixos-hardware/2096f3f411ce46e88a79ae4eafcfc9df8ed41c61?narHash=sha256-ZOQyNqSvJ8UdrrqU1p7vaFcdL53idK%2BLOM8oRWEWh6o%3D' (2026-04-23)
→ 'github:nixos/nixos-hardware/2564d804144a6588660bb5d2646bb05322cacf82?narHash=sha256-rFG35UXPBG29B9ZI0QY2G7dttahfZAVRxQXaeyixz3U%3D' (2026-06-22)
• Added input 'hardware/nixpkgs':
follows 'nixpkgs'
• Updated input 'home-manager':
'github:nix-community/home-manager/d456f483f157d4b706416005da226234b9c116ff?narHash=sha256-YqlTCRRhGvNjcJejPeMuHrYQ/TVhOO2MV/nEGMWb8nk%3D' (2026-06-18)
→ 'github:nix-community/home-manager/351959fcdbe5cadec1c3434d7abd14dff31af2d5?narHash=sha256-S%2B/v%2BBWz9c8IbGhRM8L4UUVC5j2oZuAHj1b5XlkBjyw%3D' (2026-06-22)
• Updated input 'lanzaboote':
'github:nix-community/lanzaboote/079c608988c2747db3902c9de033572cd50e8656?narHash=sha256-c0r3xXp2%2BxFJwkryS%2BnhyQwoACbFzSt4C1TVs3QMh8E%3D' (2026-04-27)
→ 'github:nix-community/lanzaboote/6650fb7c6b48177c8200e21ffac99a4adc72b08d?narHash=sha256-APwmLI4UuSTim0JO/kZ6FXDPiZVp3zIj0uGDF2UZ5kU%3D' (2026-06-22)
• Updated input 'lanzaboote/crane':
'github:ipetkov/crane/ad8b31ad0ba8448bd958d7a5d50d811dc5d271c0?narHash=sha256-VWTeqWeb8Sel/QiWyaPvCa9luAbcGawR%2BRw09FJoHz0%3D' (2026-04-26)
→ 'github:ipetkov/crane/469fd08d0bcf6926321fa973c6777fbc87785dd7?narHash=sha256-SlXKwIRIhrOSAcTjCB3ftPLzJWZStQIPS7J1FlZPnKk%3D' (2026-06-18)
• Updated input 'lanzaboote/pre-commit':
'github:cachix/pre-commit-hooks.nix/3cfd774b0a530725a077e17354fbdb87ea1c4aad?narHash=sha256-PcRvlWayisPSjd0UcRQbhG8Oqw78AcPE6x872cPRHN8%3D' (2026-04-21)
→ 'github:cachix/pre-commit-hooks.nix/3bbec39bc90eadfa031e6f3b77272f3f60803e39?narHash=sha256-U3yTuGBnmXvXoQI3qkpfEDsn9RovQPAjN7ndRco%2B3u0%3D' (2026-06-17)
• Updated input 'lanzaboote/rust-overlay':
'github:oxalica/rust-overlay/aaec8c50baeaf2f2ba653e8aae71778a2bbbac94?narHash=sha256-ERiu3cbxvnTDxiDcimRA7af7xp6x1y0sRyLGm28Qzz8%3D' (2026-04-26)
→ 'github:oxalica/rust-overlay/8534567325bd8a8d2928e6afd81e0a87d19efd3c?narHash=sha256-9mWUnReOUXfKjZuJAL/bAFH3LUyECTRtXgSNVjRw3UY%3D' (2026-06-21)
• Updated input 'nixos-mailserver':
'gitlab:simple-nixos-mailserver/nixos-mailserver/e33fbde199eaad513ef5d0746db19d5878150232?narHash=sha256-Fj7S91TuZm6%2BDG/v6SFme/p%2BsWrYMQICGX6yQ5KD43Q%3D' (2026-04-27)
→ 'gitlab:simple-nixos-mailserver/nixos-mailserver/c37fd9c40877450716692b6478e6dda330dfc46a?narHash=sha256-e46EhlHo0jupcYCLE4QJRitd3%2By%2BRgIQYNcfcCdLbKg%3D' (2026-06-19)
• Updated input 'nixos-mailserver/git-hooks':
'github:cachix/git-hooks.nix/580633fa3fe5fc0379905986543fd7495481913d?narHash=sha256-8Psjt%2BTWvE4thRKktJsXfR6PA/fWWsZ04DVaY6PUhr4%3D' (2026-04-07)
→ 'github:cachix/git-hooks.nix/61ab0e80d9c7ab14c256b5b453d8b3fb0189ba0a?narHash=sha256-kTwur1wV%2B01SdqskVMSo6JMEpg71ps3HpbFY2GsflKs%3D' (2026-05-11)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/549bd84d6279f9852cae6225e372cc67fb91a4c1?narHash=sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9%2BhrDTkDU%3D' (2026-05-05)
→ 'github:nixos/nixpkgs/567a49d1913ce81ac6e9582e3553dd90a955875f?narHash=sha256-lrp67w8AulE9Ks53n27I45ADSzbOCn4H%2BCNW1Ck8B%2B8%3D' (2026-06-16)
• Updated input 'sops-nix':
'github:mic92/sops-nix/8eaee5c45428b28b8c47a83e4c09dccec5f279b5?narHash=sha256-bc%2BZZCmOTNq86/svGnw0tVpH7vJaLYvGLLKFYP08Q8E%3D' (2026-04-28)
→ 'github:mic92/sops-nix/420f8d2e9882911f65cfac15cc706f639ba96cca?narHash=sha256-NFHmA7H47adqiyp%2B0iEOyZOQhmigDqA/NBAlf4imB6U%3D' (2026-06-20)
160 lines
4.1 KiB
Nix
160 lines
4.1 KiB
Nix
{
|
|
description = "My NixOS configuration";
|
|
|
|
nixConfig = {
|
|
extra-substituters = [
|
|
"https://cache.m7.rs"
|
|
];
|
|
extra-trusted-public-keys = [
|
|
"cache.m7.rs:kszZ/NSwE/TjhOcPPQ16IuUiuRSisdiIwhKZCxguaWg="
|
|
];
|
|
};
|
|
|
|
inputs = {
|
|
# Nix ecosystem
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
systems.url = "github:nix-systems/default-linux";
|
|
|
|
nix-colors.url = "github:misterio77/nix-colors";
|
|
hardware = {
|
|
url = "github:nixos/nixos-hardware";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
impermanence = {
|
|
url = "github:nix-community/impermanence";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.home-manager.follows = "home-manager";
|
|
};
|
|
sops-nix = {
|
|
url = "github:mic92/sops-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nixos-mailserver = {
|
|
url = "gitlab:simple-nixos-mailserver/nixos-mailserver";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nix-minecraft = {
|
|
url = "github:infinidoge/nix-minecraft";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.systems.follows = "systems";
|
|
};
|
|
disko = {
|
|
url = "github:nix-community/disko";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
lanzaboote = {
|
|
url = "github:nix-community/lanzaboote";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
# Third party programs, packaged with nix
|
|
firefox-addons = {
|
|
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
hytale = {
|
|
url = "github:TNAZEP/HytaleLauncherFlake";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
# My own programs, packaged with nix
|
|
themes = {
|
|
url = "github:misterio77/themes";
|
|
inputs.systems.follows = "systems";
|
|
};
|
|
website = {
|
|
url = "github:misterio77/website";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.systems.follows = "systems";
|
|
};
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
home-manager,
|
|
systems,
|
|
...
|
|
} @ inputs: let
|
|
inherit (self) outputs;
|
|
lib = nixpkgs.lib // home-manager.lib;
|
|
forEachSystem = f: lib.genAttrs (import systems) (system: f pkgsFor.${system});
|
|
pkgsFor = lib.genAttrs (import systems) (
|
|
system:
|
|
import nixpkgs {
|
|
inherit system;
|
|
config.allowUnfree = true;
|
|
}
|
|
);
|
|
in {
|
|
inherit lib;
|
|
nixosModules = import ./modules/nixos;
|
|
homeManagerModules = import ./modules/home-manager;
|
|
|
|
overlays = import ./overlays {inherit inputs outputs;};
|
|
hydraJobs = import ./hydra.nix {inherit inputs outputs;};
|
|
|
|
packages = forEachSystem (pkgs: import ./pkgs {inherit pkgs;});
|
|
devShells = forEachSystem (pkgs: import ./shell.nix {inherit pkgs;});
|
|
formatter = forEachSystem (pkgs: pkgs.alejandra);
|
|
|
|
nixosConfigurations = {
|
|
# Main desktop
|
|
atlas = lib.nixosSystem {
|
|
modules = [./hosts/atlas];
|
|
specialArgs = {
|
|
inherit inputs outputs;
|
|
};
|
|
};
|
|
# Living room desktop
|
|
pleione = lib.nixosSystem {
|
|
modules = [./hosts/pleione];
|
|
specialArgs = {
|
|
inherit inputs outputs;
|
|
};
|
|
};
|
|
# Personal laptop (Framework 13)
|
|
maia = lib.nixosSystem {
|
|
modules = [./hosts/maia];
|
|
specialArgs = {
|
|
inherit inputs outputs;
|
|
};
|
|
};
|
|
# Core server (Vultr)
|
|
alcyone = lib.nixosSystem {
|
|
modules = [./hosts/alcyone];
|
|
specialArgs = {
|
|
inherit inputs outputs;
|
|
};
|
|
};
|
|
# Build and game server (Oracle)
|
|
celaeno = lib.nixosSystem {
|
|
modules = [./hosts/celaeno];
|
|
specialArgs = {
|
|
inherit inputs outputs;
|
|
};
|
|
};
|
|
# Build and game server (Magalu Cloud)
|
|
taygeta = lib.nixosSystem {
|
|
modules = [./hosts/taygeta];
|
|
specialArgs = {
|
|
inherit inputs outputs;
|
|
};
|
|
};
|
|
# Media server (RPi)
|
|
merope = lib.nixosSystem {
|
|
modules = [./hosts/merope];
|
|
specialArgs = {
|
|
inherit inputs outputs;
|
|
};
|
|
};
|
|
};
|
|
|
|
homeConfigurations = {};
|
|
};
|
|
}
|