2024-07-11 03:56:19 -07:00
|
|
|
{
|
|
|
|
description = "System configuration flake.";
|
|
|
|
|
|
|
|
inputs = {
|
2024-07-31 16:52:12 -07:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
2024-08-25 23:34:41 -07:00
|
|
|
stablepkgs.url = "github:nixos/nixpkgs/nixos-24.05";
|
|
|
|
bleedingpkgs.url = "github:nixos/nixpkgs/master";
|
|
|
|
nixpkgs-unstable-small.url = "github:nixos/nixpkgs/nixos-unstable-small";
|
2024-08-21 16:48:17 -07:00
|
|
|
|
2024-07-11 03:56:19 -07:00
|
|
|
home-manager = {
|
2024-07-31 16:52:12 -07:00
|
|
|
url = "github:nix-community/home-manager";
|
2024-07-11 03:56:19 -07:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-08-21 16:48:17 -07:00
|
|
|
|
|
|
|
nix-darwin = {
|
|
|
|
url = "github:LnL7/nix-darwin";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
2024-08-05 02:51:43 -07:00
|
|
|
nix-homebrew.url = "github:zhaofengli-wip/nix-homebrew";
|
2024-08-21 16:48:17 -07:00
|
|
|
|
2024-08-05 02:51:43 -07:00
|
|
|
homebrew-core = {
|
|
|
|
url = "github:homebrew/homebrew-core";
|
|
|
|
flake = false;
|
|
|
|
};
|
2024-08-21 16:48:17 -07:00
|
|
|
|
2024-08-05 02:51:43 -07:00
|
|
|
homebrew-cask = {
|
|
|
|
url = "github:homebrew/homebrew-cask";
|
|
|
|
flake = false;
|
|
|
|
};
|
2024-08-21 16:48:17 -07:00
|
|
|
|
2024-07-11 17:25:22 -07:00
|
|
|
catppuccin.url = "github:catppuccin/nix";
|
2024-08-21 16:48:17 -07:00
|
|
|
|
2024-08-25 23:34:41 -07:00
|
|
|
# firefox-addons = {
|
|
|
|
# url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
|
|
|
# inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
# };
|
|
|
|
|
2024-07-12 15:21:32 -07:00
|
|
|
lanzaboote = {
|
|
|
|
url = "github:nix-community/lanzaboote/v0.4.1";
|
|
|
|
|
|
|
|
# Optional but recommended to limit the size of your system closure.
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-08-21 16:48:17 -07:00
|
|
|
|
2024-07-31 18:17:21 -07:00
|
|
|
lix-module = {
|
2024-08-16 06:42:35 -07:00
|
|
|
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.90.0.tar.gz";
|
2024-07-31 18:17:21 -07:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-08-21 16:48:17 -07:00
|
|
|
|
2024-08-07 05:55:39 -07:00
|
|
|
apple-silicon = {
|
|
|
|
url = "github:tpwrules/nixos-apple-silicon";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-08-21 16:48:17 -07:00
|
|
|
|
2024-08-24 22:20:28 -07:00
|
|
|
spicetify = {
|
|
|
|
url = "github:Gerg-L/spicetify-nix";
|
2024-08-17 04:49:37 -07:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-08-23 23:14:53 -07:00
|
|
|
|
2024-08-24 23:58:43 -07:00
|
|
|
personal-neovim.url = "github:youwen5/neovim-flake";
|
2024-08-25 06:10:47 -07:00
|
|
|
|
|
|
|
vesktop-bin.url = "github:youwen5/vesktop-bin-flake";
|
2024-08-26 00:43:36 -07:00
|
|
|
|
|
|
|
wallpapers = {
|
|
|
|
url = "git+https://code.youwen.dev/youwen5/wallpapers";
|
|
|
|
flake = false;
|
|
|
|
};
|
2024-07-11 03:56:19 -07:00
|
|
|
};
|
|
|
|
|
2024-08-16 06:42:35 -07:00
|
|
|
outputs = {
|
|
|
|
nixpkgs,
|
|
|
|
nix-darwin,
|
|
|
|
...
|
2024-08-21 16:48:17 -07:00
|
|
|
} @ inputs: let
|
2024-08-22 01:38:05 -07:00
|
|
|
in {
|
2024-08-21 16:48:17 -07:00
|
|
|
formatter = with nixpkgs.legacyPackages; {
|
|
|
|
x86_64-linux = x86_64-linux.alejandra;
|
|
|
|
aarch64-linux = aarch64-linux.alejandra;
|
|
|
|
aarch64-darwin = aarch64-darwin.alejandra;
|
|
|
|
};
|
|
|
|
|
2024-08-16 06:42:35 -07:00
|
|
|
nixosConfigurations = {
|
|
|
|
demeter = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
2024-08-21 16:48:17 -07:00
|
|
|
specialArgs = {
|
|
|
|
inherit inputs;
|
|
|
|
system = "x86_64-linux";
|
|
|
|
};
|
2024-08-16 06:42:35 -07:00
|
|
|
modules = [
|
|
|
|
./hosts/demeter
|
|
|
|
];
|
|
|
|
};
|
2024-08-21 16:48:17 -07:00
|
|
|
|
2024-08-16 06:42:35 -07:00
|
|
|
callisto = nixpkgs.lib.nixosSystem {
|
2024-08-21 16:48:17 -07:00
|
|
|
specialArgs = {
|
|
|
|
inherit inputs;
|
|
|
|
system = "aarch64-linux";
|
|
|
|
};
|
2024-08-16 06:42:35 -07:00
|
|
|
modules = [
|
|
|
|
./hosts/callisto
|
|
|
|
];
|
2024-07-21 19:02:10 -07:00
|
|
|
};
|
2024-08-16 06:42:35 -07:00
|
|
|
adrastea = nixpkgs.lib.nixosSystem {
|
2024-08-22 19:08:11 -07:00
|
|
|
specialArgs = {
|
|
|
|
inherit inputs;
|
|
|
|
system = "x86_64-linux";
|
|
|
|
};
|
2024-08-05 02:51:43 -07:00
|
|
|
modules = [
|
2024-08-16 06:42:35 -07:00
|
|
|
./hosts/adrastea
|
2024-08-05 02:51:43 -07:00
|
|
|
];
|
|
|
|
};
|
2024-07-11 03:56:19 -07:00
|
|
|
};
|
2024-08-16 06:42:35 -07:00
|
|
|
darwinConfigurations.phobos = nix-darwin.lib.darwinSystem {
|
|
|
|
specialArgs = {inherit inputs;};
|
|
|
|
modules = [
|
|
|
|
./hosts/phobos
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2024-07-11 03:56:19 -07:00
|
|
|
}
|