Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/42willow/flake. my system configurations ^-^ 42willow.github.io/flake
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162{ description = "willow's nix flake ^-^";
outputs = { self, nixos-stable, nix-darwin, home-manager, nixpkgs, ... } @ inputs: let mkNixosSystem = name: hostPath: nixos-stable.lib.nixosSystem { modules = [ hostPath home-manager.nixosModules.home-manager ]; specialArgs = {inherit self inputs;}; };
mkDarwinSystem = name: hostPath: nix-darwin.lib.darwinSystem { modules = [ hostPath home-manager.darwinModules.home-manager ]; specialArgs = {inherit self inputs;}; };
forAllSystems = nixpkgs.lib.genAttrs ["x86_64-linux" "aarch64-darwin"]; in { nixosConfigurations = builtins.mapAttrs mkNixosSystem { earthy = ./hosts/earthy; anemone = ./hosts/anemone; lily = ./hosts/lily; zinnia = ./hosts/zinnia; };
darwinConfigurations = builtins.mapAttrs mkDarwinSystem { starling = ./hosts/starling; };
lib = import ./modules/lib { inherit inputs; inherit (nixpkgs) lib; };
overlays = import ./overlays.nix { inherit inputs; inherit self; };
packages = forAllSystems (system: import ./pkgs nixpkgs.legacyPackages.${system}); formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.alejandra); };
inputs = { nixos-stable.url = "github:nixos/nixpkgs/nixos-26.05"; nixos-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
darwin-stable.url = "github:nixos/nixpkgs/nixpkgs-26.05-darwin"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
nix-darwin = { url = "github:nix-darwin/nix-darwin/nix-darwin-26.05"; inputs.nixpkgs.follows = "darwin-stable"; };
# themes catppuccin = { url = "github:catppuccin/nix/release-26.05"; inputs.nixpkgs.follows = "nixos-stable"; }; stylix = { url = "github:danth/stylix/release-26.05"; inputs = { nixpkgs.follows = "nixos-stable"; systems.follows = "systems"; flake-parts.follows = "flake-parts"; }; };
# hardware nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nixos-wsl = { url = "github:nix-community/NixOS-WSL/main"; inputs = { nixpkgs.follows = "nixos-unstable"; flake-compat.follows = ""; }; };
# home-manager home-manager = { url = "github:nix-community/home-manager/release-26.05"; inputs.nixpkgs.follows = "nixos-stable"; }; home-manager-unstable = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs-unstable"; };
# spicetify spicetify-nix = { url = "github:Gerg-L/spicetify-nix"; inputs = { nixpkgs.follows = "nixos-unstable"; systems.follows = "systems"; }; };
# secrets sops = { url = "github:Mic92/sops-nix"; inputs.nixpkgs.follows = "nixpkgs-unstable"; };
# wallpapers wallpapers = { url = "github:42willow/wallpapers/ff1073562ef3d0c11098e86f21787f0e84d549c2"; inputs = { nixpkgs.follows = "nixos-unstable"; systems.follows = "systems"; lutgen-rs.inputs.flake-utils = { follows = "flake-utils"; inputs.systems.follows = "systems"; }; }; };
firefox-cascade = { url = "github:cascadefox/cascade"; flake = false; };
niri = { url = "github:sodiboo/niri-flake"; inputs = { nixpkgs.follows = "nixos-unstable"; nixpkgs-stable.follows = "nixos-stable"; }; };
nix-index-database = { url = "github:nix-community/nix-index-database"; inputs.nixpkgs.follows = "nixos-unstable"; };
# reduce inputs systems = { url = "github:nix-systems/default"; }; flake-utils = { url = "github:numtide/flake-utils"; inputs.systems.follows = "systems"; }; flake-parts = { url = "github:hercules-ci/flake-parts"; }; };}