mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-10 17:34:05 -05:00
'github:nix-community/authentik-nix/bbd5f56c4bc6630ff8bc859a525db82574da0b69?narHash=sha256-CkxGROX%2BZECkt8vJyLtvmGdw7aVDdRpOXAp3mvlf0jE%3D' (2025-11-04)
→ 'github:nix-community/authentik-nix/4a670757083d94a9dceb4929eb88eb9995bc1363?narHash=sha256-jlYmjrTw3g5iOYDZBGb5Plw6IyRa%2BWY60e3GzU19bkk%3D' (2025-11-20)
• Updated input 'authentik-nix/authentik-src':
'github:goauthentik/authentik/70406664dca2a13aabb695094f85471585668cb1?narHash=sha256-HowB6DTGCqz770fKYbnE%2BrQ11XRV0WSNkLD%2BHSWZwz8%3D' (2025-11-03)
→ 'github:goauthentik/authentik/2fedc3d0a0ba91c16bb71bd4b2432108ca02e890?narHash=sha256-xBnAfoAOUslOrxNzY5kV0h67qWMXKZnPC/wgRGXZleQ%3D' (2025-11-19)
• Updated input 'authentik-nix/flake-compat':
'github:edolstra/flake-compat/9100a0f413b0c601e0533d1d94ffd501ce2e7885?narHash=sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX%2BfjA8Xf8PUmqCY%3D' (2025-05-12)
→ 'github:edolstra/flake-compat/f387cd2afec9419c8ee37694406ca490c3f34ee5?narHash=sha256-XKUZz9zewJNUj46b4AJdiRZJAvSZ0Dqj2BNfXvFlJC4%3D' (2025-10-27)
• Updated input 'authentik-nix/flake-parts':
'github:hercules-ci/flake-parts/864599284fc7c0ba6357ed89ed5e2cd5040f0c04?narHash=sha256-TmWcdiUUaWk8J4lpjzu4gCGxWY6/Ok7mOK4fIFfBuU4%3D' (2025-10-20)
→ 'github:hercules-ci/flake-parts/52a2caecc898d0b46b2b905f058ccc5081f842da?narHash=sha256-8oNVE8TrD19ulHinjaqONf9QWCKK%2Bw4url56cdStMpM%3D' (2025-11-12)
• Updated input 'authentik-nix/flake-parts/nixpkgs-lib':
'github:nix-community/nixpkgs.lib/a73b9c743612e4244d865a2fdee11865283c04e6?narHash=sha256-x2rJ%2BOvzq0sCMpgfgGaaqgBSwY%2BLST%2BWbZ6TytnT9Rk%3D' (2025-08-10)
→ 'github:nix-community/nixpkgs.lib/719359f4562934ae99f5443f20aa06c2ffff91fc?narHash=sha256-b0yj6kfvO8ApcSE%2BQmA6mUfu8IYG6/uU28OFn4PaC8M%3D' (2025-10-29)
• Updated input 'authentik-nix/nixpkgs':
'github:NixOS/nixpkgs/01f116e4df6a15f4ccdffb1bcd41096869fb385c?narHash=sha256-f/QCJM/YhrV/lavyCVz8iU3rlZun6d%2BdAiC3H%2BCDle4%3D' (2025-10-22)
→ 'github:NixOS/nixpkgs/89c2b2330e733d6cdb5eae7b899326930c2c0648?narHash=sha256-Stk9ZYRkGrnnpyJ4eqt9eQtdFWRRIvMxpNRf4sIegnw%3D' (2025-11-17)
• Updated input 'authentik-nix/pyproject-build-systems':
'github:pyproject-nix/build-system-pkgs/dbfc0483b5952c6b86e36f8b3afeb9dde30ea4b5?narHash=sha256-fgxP2RCN4cg0jYiMYoETYc7TZ2JjgyvJa2y9l8oSUFE%3D' (2025-09-29)
→ 'github:pyproject-nix/build-system-pkgs/795a980d25301e5133eca37adae37283ec3c8e66?narHash=sha256-YDvxPAm2WnxrznRqWwHLjryBGG5Ey1ATEJXrON%2BTWt8%3D' (2025-10-29)
• Updated input 'authentik-nix/pyproject-nix':
'github:pyproject-nix/pyproject.nix/84c4ea102127c77058ea1ed7be7300261fafc7d2?narHash=sha256-jF6UKLs2uGc2rtved8Vrt58oTWjTQoAssuYs/0578Z4%3D' (2025-10-14)
→ 'github:pyproject-nix/pyproject.nix/7d3d8848358ccbd415afe2139f12b9e1508d3ace?narHash=sha256-SKdpcVuJKMNEXloIpLXY%2BjDI42%2B6Ew21vdkl894DxHo%3D' (2025-11-18)
• Updated input 'authentik-nix/uv2nix':
'github:pyproject-nix/uv2nix/e6e728d9719e989c93e65145fe3f9e0c65a021a2?narHash=sha256-4Kt3RsfJgg6HzmDCc44ZN//xB8n7KGEGxxt9dNjqPQc%3D' (2025-10-22)
→ 'github:pyproject-nix/uv2nix/c9752c6c5915eece99505612d8f7805185cff990?narHash=sha256-8JurcmEzAkrpm%2BeUDm8W/%2BKkU/w/viAeyJhJlIX2qOQ%3D' (2025-11-17)
• Updated input 'disko':
'github:nix-community/disko/af087d076d3860760b3323f6b583f4d828c1ac17?narHash=sha256-TtcPgPmp2f0FAnc%2BDMEw4ardEgv1SGNR3/WFGH0N19M%3D' (2025-11-04)
→ 'github:nix-community/disko/a19c2b6d3a8fbdbcaf50d6c3f928e9beed63c8f3?narHash=sha256-%2BwhJTa9r8nmzOTRrBjMD/UVhMFFoJnW2RpNw7S2g/eM%3D' (2025-11-20)
• Updated input 'hardware':
'github:nixos/nixos-hardware/24084931d8098fce300fabea9e48fa96292228d7?narHash=sha256-sQJuoiqsaIvKiIOmF/3FDV5dM2TGL2jBv1PeQSt83YE%3D' (2025-11-06)
→ 'github:nixos/nixos-hardware/899dc449bc6428b9ee6b3b8f771ca2b0ef945ab9?narHash=sha256-BWWnUUT01lPwCWUvS0p6Px5UOBFeXJ8jR%2BZdLX8IbrU%3D' (2025-11-11)
• Updated input 'niri-flake':
'github:sodiboo/niri-flake/e8402dc4d8104f8f81fd16d3d743d43d106f2f47?narHash=sha256-cuT7sRqgERQvvsPgonz%2B0tu308Yy42nyNxgR2AxllEk%3D' (2025-11-06)
→ 'github:sodiboo/niri-flake/ca75677ad47613f6afbbc2c6142601fef0ac7631?narHash=sha256-HTLoe4UvnG5fWruO%2BzjnZJNCnKcbVM8eeSPpIlKHOyI%3D' (2025-11-19)
• Updated input 'niri-flake/niri-unstable':
'github:YaLTeR/niri/a2ca2b3c866bc781b12c334a9f949b3db6d7c943?narHash=sha256-anRlNG6t7esBbF1%2BALDeathVBSclA0PEL52Vo0WnN5g%3D' (2025-11-03)
→ 'github:YaLTeR/niri/6fcdb9242e65ed5825e7fda2a7935b412588b63a?narHash=sha256-PdXkgqtbVFdZNhmTrZLTDMGb4zzaSK2RnKUXM8bIDo4%3D' (2025-11-19)
• Updated input 'niri-flake/nixpkgs':
'github:NixOS/nixpkgs/b3d51a0365f6695e7dd5cdf3e180604530ed33b4?narHash=sha256-4vhDuZ7OZaZmKKrnDpxLZZpGIJvAeMtK6FKLJYUtAdw%3D' (2025-11-02)
→ 'github:NixOS/nixpkgs/89c2b2330e733d6cdb5eae7b899326930c2c0648?narHash=sha256-Stk9ZYRkGrnnpyJ4eqt9eQtdFWRRIvMxpNRf4sIegnw%3D' (2025-11-17)
• Updated input 'niri-flake/nixpkgs-stable':
'github:NixOS/nixpkgs/ca534a76c4afb2bdc07b681dbc11b453bab21af8?narHash=sha256-cGS3lLTYusbEP/IJIWGgnkzIl%2BFA5xDvtiHyjalGr4k%3D' (2025-11-04)
→ 'github:NixOS/nixpkgs/4c8cdd5b1a630e8f72c9dd9bf582b1afb3127d2c?narHash=sha256-LBVOyaH6NFzQ3X/c6vfMZ9k4SV2ofhpxeL9YnhHNJQQ%3D' (2025-11-16)
• Updated input 'niri-flake/xwayland-satellite-unstable':
'github:Supreeeme/xwayland-satellite/56256a1340b771c71a5cfdc881525807edc3fcd2?narHash=sha256-PAV8DhLzfo6YwrESrK4ykEj%2BrUvBYMtbeI0N8SAlsMU%3D' (2025-11-06)
→ 'github:Supreeeme/xwayland-satellite/6338574bc5c036487486acde264f38f39ea15fad?narHash=sha256-Z1TKiux8K09a93w4PFDFsj8HFugXNy3iCC3Z8MpR5Rk%3D' (2025-11-10)
• Updated input 'nix-darwin':
'github:lnl7/nix-darwin/b8c7ac030211f18bd1f41eae0b815571853db7a2?narHash=sha256-ikVIPB/ea/BAODk6aksgkup9k2jQdrwr4%2BZRXtBgmSs%3D' (2025-11-05)
→ 'github:lnl7/nix-darwin/3bda9f6b14161becbd07b3c56411f1670e19b9b5?narHash=sha256-nJRd4LY2kT3OELfHqdgWjvToNZ4w%2BzKCMzS2R6z4sXE%3D' (2025-11-18)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/ca534a76c4afb2bdc07b681dbc11b453bab21af8?narHash=sha256-cGS3lLTYusbEP/IJIWGgnkzIl%2BFA5xDvtiHyjalGr4k%3D' (2025-11-04)
→ 'github:nixos/nixpkgs/4c8cdd5b1a630e8f72c9dd9bf582b1afb3127d2c?narHash=sha256-LBVOyaH6NFzQ3X/c6vfMZ9k4SV2ofhpxeL9YnhHNJQQ%3D' (2025-11-16)
• Updated input 'nixpkgs-darwin':
'github:nixos/nixpkgs/f7f3f865ddd3f64e465872df9a798edb43c85de4?narHash=sha256-6TUy90TneFUU6PlNWXL9D0UTkFbcrynG3vpMj7ICPEE%3D' (2025-11-06)
→ 'github:nixos/nixpkgs/c58bc7f5459328e4afac201c5c4feb7c818d604b?narHash=sha256-1jQnuyu82FpiSxowrF/iFK6Toh9BYprfDqfs4BB%2B19M%3D' (2025-11-20)
• Updated input 'nixpkgs-stable':
'github:nixos/nixpkgs/ca534a76c4afb2bdc07b681dbc11b453bab21af8?narHash=sha256-cGS3lLTYusbEP/IJIWGgnkzIl%2BFA5xDvtiHyjalGr4k%3D' (2025-11-04)
→ 'github:nixos/nixpkgs/4c8cdd5b1a630e8f72c9dd9bf582b1afb3127d2c?narHash=sha256-LBVOyaH6NFzQ3X/c6vfMZ9k4SV2ofhpxeL9YnhHNJQQ%3D' (2025-11-16)
• Updated input 'nixpkgs-unstable':
'github:nixos/nixpkgs/b3d51a0365f6695e7dd5cdf3e180604530ed33b4?narHash=sha256-4vhDuZ7OZaZmKKrnDpxLZZpGIJvAeMtK6FKLJYUtAdw%3D' (2025-11-02)
→ 'github:nixos/nixpkgs/89c2b2330e733d6cdb5eae7b899326930c2c0648?narHash=sha256-Stk9ZYRkGrnnpyJ4eqt9eQtdFWRRIvMxpNRf4sIegnw%3D' (2025-11-17)
• Updated input 'sops-nix':
'github:mic92/sops-nix/5a7d18b5c55642df5c432aadb757140edfeb70b3?narHash=sha256-ee2e1/AeGL5X8oy/HXsZQvZnae6XfEVdstGopKucYLY%3D' (2025-10-20)
→ 'github:mic92/sops-nix/877bb495a6f8faf0d89fc10bd142c4b7ed2bcc0b?narHash=sha256-VefBA1JWRXM929mBAFohFUtQJLUnEwZ2vmYUNkFnSjE%3D' (2025-11-20)
• Removed input 'authentik-nix'
• Removed input 'authentik-nix/authentik-src'
• Removed input 'authentik-nix/flake-compat'
• Removed input 'authentik-nix/flake-parts'
• Removed input 'authentik-nix/flake-parts/nixpkgs-lib'
• Removed input 'authentik-nix/flake-utils'
• Removed input 'authentik-nix/flake-utils/systems'
• Removed input 'authentik-nix/napalm'
• Removed input 'authentik-nix/napalm/flake-utils'
• Removed input 'authentik-nix/napalm/nixpkgs'
• Removed input 'authentik-nix/nixpkgs'
• Removed input 'authentik-nix/pyproject-build-systems'
• Removed input 'authentik-nix/pyproject-build-systems/nixpkgs'
• Removed input 'authentik-nix/pyproject-build-systems/pyproject-nix'
• Removed input 'authentik-nix/pyproject-build-systems/uv2nix'
• Removed input 'authentik-nix/pyproject-nix'
• Removed input 'authentik-nix/pyproject-nix/nixpkgs'
• Removed input 'authentik-nix/systems'
• Removed input 'authentik-nix/uv2nix'
• Removed input 'authentik-nix/uv2nix/nixpkgs'
• Removed input 'authentik-nix/uv2nix/pyproject-nix'
125 lines
3.4 KiB
Nix
125 lines
3.4 KiB
Nix
{
|
|
description = "CrOS Ecosystem";
|
|
|
|
outputs =
|
|
{
|
|
self,
|
|
nixpkgs,
|
|
...
|
|
}@inputs:
|
|
let
|
|
inherit (self) outputs;
|
|
|
|
# Architectures
|
|
forAllSystems = nixpkgs.lib.genAttrs [
|
|
"x86_64-linux"
|
|
"aarch64-linux"
|
|
];
|
|
# Extend lib with lib.custom
|
|
lib = nixpkgs.lib.extend (self: super: { custom = import ./lib { inherit (nixpkgs) lib; }; });
|
|
in
|
|
{
|
|
# Overlays
|
|
overlays = import ./overlays { inherit inputs; };
|
|
|
|
# Host Configurations
|
|
nixosConfigurations = builtins.listToAttrs (
|
|
map (host: {
|
|
name = host;
|
|
value = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {
|
|
inherit inputs outputs lib;
|
|
isDarwin = false;
|
|
};
|
|
modules = [ ./hosts/nixos/${host} ];
|
|
};
|
|
}) (builtins.attrNames (builtins.readDir ./hosts/nixos))
|
|
);
|
|
|
|
# For later, to enable if we get any darwin hosts
|
|
# darwinConfigurations = builtins.listToAttrs (
|
|
# map (host: {
|
|
# name = host;
|
|
# value = nix-darwin.lib.darwinSystem {
|
|
# specialArgs = {
|
|
# inherit inputs outputs lib;
|
|
# isDarwin = true;
|
|
# };
|
|
# modules = [ ./hosts/darwin/${host} ];
|
|
# };
|
|
# }) (builtins.attrNames (builtins.readDir ./hosts/darwin))
|
|
# );
|
|
|
|
#packages = forAllSystems (
|
|
# system: let
|
|
# pkgs = import nixpkgs {
|
|
# inherit system;
|
|
# overlays = [self.overlays.default];
|
|
# };
|
|
# in
|
|
# nixpkgs.lib.packagesFromDirectoryRecursive {
|
|
# callPackage = nixpkgs.lib.callPackageWith pkgs;
|
|
# directory = ./pkgs/common;
|
|
# }
|
|
#);
|
|
|
|
devShells = forAllSystems (
|
|
system:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
#overlays = [self.overlays.default];
|
|
};
|
|
in
|
|
builtins.listToAttrs (
|
|
map (name: {
|
|
inherit name;
|
|
value = import ./devshells/${name} {
|
|
inherit pkgs inputs outputs;
|
|
};
|
|
}) (builtins.attrNames (builtins.readDir ./devshells))
|
|
)
|
|
);
|
|
};
|
|
|
|
inputs = {
|
|
# Official inputs
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
|
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-25.05";
|
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
hardware.url = "github:nixos/nixos-hardware";
|
|
|
|
nixpkgs-darwin.url = "github:nixos/nixpkgs/nixpkgs-25.05-darwin";
|
|
nix-darwin = {
|
|
url = "github:lnl7/nix-darwin";
|
|
inputs.nixpkgs.follows = "nixpkgs-darwin";
|
|
};
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-25.05";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
impermanence.url = "github:nix-community/impermanence";
|
|
|
|
# 3rd party inputs
|
|
disko = {
|
|
# Declarative partitioning
|
|
url = "github:nix-community/disko";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
sops-nix = {
|
|
url = "github:mic92/sops-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
niri-flake.url = "github:sodiboo/niri-flake";
|
|
iamb-flake.url = "github:ulyssa/iamb/v0.0.11-alpha.1";
|
|
|
|
# CrOS inputs
|
|
nix-secrets.url = "git+ssh://git@github.com/TheWanderingCrow/nix-secrets";
|
|
nvix.url = "github:TheWanderingCrow/nvix";
|
|
the-nest.url = "github:TheWanderingCrow/the-nest";
|
|
};
|
|
}
|