nixos-config/flake.nix

99 lines
3.7 KiB
Nix
Raw Normal View History

{
2022-11-25 06:35:11 +00:00
description = "foo-dogsquared's abomination of a NixOS configuration";
2022-02-04 12:48:02 +00:00
nixConfig = {
extra-substituters =
"https://nix-community.cachix.org https://foo-dogsquared.cachix.org";
extra-trusted-public-keys =
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= foo-dogsquared.cachix.org-1:/2fmqn/gLGvCs5EDeQmqwtus02TUmGy0ZlAEXqRE70E=";
2022-02-04 12:48:02 +00:00
};
inputs = {
# I know NixOS can be stable but we're going cutting edge, baybee! While
# `nixpkgs-unstable` branch could be faster delivering updates, it is
2023-12-26 02:20:32 +00:00
# looser when it comes to stability for the entirety of this
# configuration...
nixpkgs.follows = "nixos-unstable";
2023-12-26 02:20:32 +00:00
# ...except we allow other configurations to use other nixpkgs branch so
# that may not matter anyways.
nixos-stable.url = "github:NixOS/nixpkgs/nixos-23.11";
nixos-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
nixos-unstable-small.url = "github:NixOS/nixpkgs/nixos-unstable-small";
2023-12-04 10:29:37 +00:00
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
2021-12-06 10:12:00 +00:00
2022-11-25 06:35:11 +00:00
# We're using these libraries for other functions.
2021-12-18 09:41:45 +00:00
flake-utils.url = "github:numtide/flake-utils";
# Managing home configurations.
home-manager.follows = "home-manager-unstable";
home-manager-stable.url = "github:nix-community/home-manager/release-23.11";
home-manager-unstable.url = "github:nix-community/home-manager";
# This is what AUR strives to be.
nur.url = "github:nix-community/NUR";
2022-02-04 15:36:22 +00:00
# Generate your NixOS systems to various formats!
nixos-generators.url = "github:nix-community/nixos-generators";
nixos-generators.inputs.nixpkgs.follows = "nixpkgs";
# Managing your secrets.
sops-nix.url = "github:Mic92/sops-nix";
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
# NixOS in Windows.
nixos-wsl.url = "github:nix-community/NixOS-WSL";
nixos-wsl.inputs.nixpkgs.follows = "nixpkgs";
2021-12-18 09:41:45 +00:00
# Easy access to development environments.
devshell.url = "github:numtide/devshell";
devshell.inputs.nixpkgs.follows = "nixpkgs";
2021-12-18 09:41:45 +00:00
2022-11-25 06:35:11 +00:00
# We're getting more unstable there should be a black hole at my home right
# now. Also, we're seem to be collecting text editors like it is Pokemon.
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
neovim-nightly-overlay.inputs.nixpkgs.follows = "nixpkgs";
2022-01-02 00:40:01 +00:00
emacs-overlay.url = "github:nix-community/emacs-overlay";
emacs-overlay.inputs.nixpkgs.follows = "nixpkgs";
2022-01-02 00:40:01 +00:00
2022-08-04 13:32:15 +00:00
helix-editor.url = "github:helix-editor/helix";
helix-editor.inputs.nixpkgs.follows = "nixpkgs";
flake.lock: update Flake lock file updates: • Updated input 'agenix': 'github:ryantm/agenix/a17d1f30550260f8b45764ddbd0391f4b1ed714a' (2022-02-02) → 'github:ryantm/agenix/b4ab630f195cb15f833cb285de232b1a22d1ea0a' (2022-02-22) • Updated input 'emacs-overlay': 'github:nix-community/emacs-overlay/6ecfaeb355326456e7b331d1527105adab360adc' (2022-02-18) → 'github:nix-community/emacs-overlay/f7eca8816dd24bed25f7c6a49cf4185d3725642d' (2022-02-27) • Updated input 'home-manager': 'github:nix-community/home-manager/4f4165a8b9108818ab0193bbd1a252106870b2a2' (2022-02-17) → 'github:nix-community/home-manager/2499b916921adde8a694117bc007efdde8bbd918' (2022-02-27) • Updated input 'neovim-nightly-overlay': 'github:nix-community/neovim-nightly-overlay/7ab23810d3844251fef656d7acc4bfbb2c4584bd' (2022-02-18) → 'github:nix-community/neovim-nightly-overlay/9a5300fb01ef2eb5013f932913e8e7d5d96e4e9d' (2022-02-26) • Updated input 'neovim-nightly-overlay/neovim-flake': 'github:neovim/neovim/faeff49cbfd190afba67e221412b7132b7ad8360?dir=contrib' (2022-02-18) → 'github:neovim/neovim/005a7aa1670841dfdffb7559161a7d37d6c14bc4?dir=contrib' (2022-02-25) • Updated input 'neovim-nightly-overlay/nixpkgs': 'github:nixos/nixpkgs/48d63e924a2666baf37f4f14a18f19347fbd54a2' (2022-02-10) → 'github:nixos/nixpkgs/7f9b6e2babf232412682c09e57ed666d8f84ac2d' (2022-02-21) • Updated input 'nixos-generators': 'github:nix-community/nixos-generators/296067b9c7a172d294831dec89d86847f30a7cfc' (2021-12-26) → 'github:nix-community/nixos-generators/05773c5d1584cebd5eda41675c3456dcabdef42a' (2022-02-25) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/19574af0af3ffaf7c9e359744ed32556f34536bd' (2022-02-16) → 'github:NixOS/nixpkgs/7dda625e7f63445ff61bcf11618999d2c97d5865' (2022-02-23) • Updated input 'nur': 'github:nix-community/NUR/8d98d367039695d78ef5cf89da6e577886de81c1' (2022-02-18) → 'github:nix-community/NUR/1dfd799af1c96ce96e7db9c4f97d8a9fc4f0e30d' (2022-02-27) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/9ce263da4310d02bd16f18f4db1c617265939a3e' (2022-02-19) → 'github:oxalica/rust-overlay/7f273929e83a196f96a0dbee9ea565952e340bd6' (2022-02-26)
2022-02-27 02:07:18 +00:00
# Generating an entire flavored themes with Nix?
nix-colors.url = "github:misterio77/nix-colors";
# Removing the manual partitioning part with a little boogie.
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";
# Deploying stuff with Nix. This is becoming a monorepo for everything I
# need and I'm liking it.
deploy.url = "github:serokell/deploy-rs";
deploy.inputs.nixpkgs.follows = "nixpkgs";
# Add a bunch of pre-compiled indices since mine are always crashing.
nix-index-database.url = "github:nix-community/nix-index-database";
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
# Make a default.nix compatible stuff.
flake-compat-fds.url = "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz";
# Someone had the idea to make the flake outputs be configured as a Nix
# module and I love them for it.
flake-parts.url = "github:hercules-ci/flake-parts";
};
2022-01-07 03:09:32 +00:00
outputs = inputs@{ self, nixpkgs, ... }:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
2024-01-06 11:10:54 +00:00
systems = [
"x86_64-linux"
"aarch64-linux"
];
imports = [
./configs/flake-parts
];
2022-01-25 01:32:17 +00:00
};
}