2024-02-29 22:20:26 -05:00
|
|
|
{
|
|
|
|
|
description = "Nixos config flake";
|
|
|
|
|
|
2024-04-03 00:43:16 -04:00
|
|
|
nixConfig = {
|
|
|
|
|
extra-substituters = [
|
|
|
|
|
"https://zackartz.cachix.org"
|
|
|
|
|
];
|
|
|
|
|
extra-trusted-public-keys = [
|
|
|
|
|
"zackartz.cachix.org-1:nrEfVZF8MVX0Lnt73KwYzH2kwDzFuAoR5VPjuUd4R30="
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
2024-02-29 22:20:26 -05:00
|
|
|
inputs = {
|
2024-05-16 16:52:08 -04:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small";
|
2024-05-03 13:33:06 -04:00
|
|
|
nixpkgs_stable.url = "github:nixos/nixpkgs/nixos-23.11";
|
2024-02-29 22:20:26 -05:00
|
|
|
|
|
|
|
|
home-manager = {
|
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
|
2024-05-03 13:33:06 -04:00
|
|
|
home-manager_stable = {
|
|
|
|
|
url = "github:nix-community/home-manager/release-23.11";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs_stable";
|
|
|
|
|
};
|
|
|
|
|
|
2024-05-06 00:29:50 -04:00
|
|
|
resume.url = "git+https://git.zackmyers.io/zack/resume";
|
2024-04-28 21:34:12 -04:00
|
|
|
anyrun.url = "github:Kirottu/anyrun";
|
|
|
|
|
anyrun.inputs.nixpkgs.follows = "nixpkgs";
|
2024-04-28 20:50:20 -04:00
|
|
|
ags.url = "github:Aylur/ags";
|
2024-05-05 21:12:08 -04:00
|
|
|
agenix.url = "github:ryantm/agenix";
|
|
|
|
|
agenix.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
agenix.inputs.darwin.follows = "";
|
2024-04-28 20:50:20 -04:00
|
|
|
|
2024-04-18 13:49:10 -04:00
|
|
|
nixos-generators = {
|
|
|
|
|
url = "github:nix-community/nixos-generators";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
|
2024-05-05 16:40:12 -04:00
|
|
|
blog.url = "github:zackartz/zmio";
|
|
|
|
|
|
2024-04-26 13:44:49 -04:00
|
|
|
lanzaboote = {
|
|
|
|
|
url = "github:nix-community/lanzaboote/v0.3.0";
|
|
|
|
|
|
|
|
|
|
# Optional but recommended to limit the size of your system closure.
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
|
2024-05-05 13:47:05 -04:00
|
|
|
hypridle = {
|
|
|
|
|
url = "github:hyprwm/hypridle";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
|
2024-04-17 16:14:57 -04:00
|
|
|
catppuccin.url = "github:catppuccin/nix";
|
2024-04-17 15:45:55 -04:00
|
|
|
|
2024-02-29 22:20:26 -05:00
|
|
|
hyprland = {
|
2024-05-21 11:55:52 -04:00
|
|
|
url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
2024-02-29 22:20:26 -05:00
|
|
|
};
|
2024-03-01 14:18:58 -05:00
|
|
|
|
|
|
|
|
kb-gui = {
|
|
|
|
|
url = "github:zackartz/kb-gui";
|
2024-04-26 13:44:49 -04:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2024-03-01 14:18:58 -05:00
|
|
|
};
|
2024-03-19 16:03:41 -04:00
|
|
|
|
2024-03-19 16:48:26 -04:00
|
|
|
waybar = {
|
|
|
|
|
url = "github:Alexays/Waybar";
|
2024-04-26 13:44:49 -04:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2024-03-19 16:48:26 -04:00
|
|
|
};
|
2024-03-20 13:45:01 -04:00
|
|
|
|
2024-05-23 20:26:30 +00:00
|
|
|
snowfall-lib = {
|
|
|
|
|
url = "github:snowfallorg/lib";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
|
2024-03-20 13:45:01 -04:00
|
|
|
neovim-nightly-overlay = {
|
|
|
|
|
url = "github:nix-community/neovim-nightly-overlay";
|
2024-05-19 17:00:08 -04:00
|
|
|
# inputs.nixpkgs.follows = "nixpkgs";
|
2024-03-20 13:45:01 -04:00
|
|
|
};
|
2024-03-24 18:13:24 -04:00
|
|
|
|
|
|
|
|
rio-term = {
|
2024-05-01 16:11:19 -04:00
|
|
|
url = "github:raphamorim/rio";
|
2024-04-26 13:44:49 -04:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2024-03-24 18:13:24 -04:00
|
|
|
};
|
2024-04-16 14:38:07 -04:00
|
|
|
|
|
|
|
|
systems.url = "github:nix-systems/default";
|
2024-04-22 11:39:35 -04:00
|
|
|
spicetify-nix = {
|
|
|
|
|
url = "github:the-argus/spicetify-nix";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
2024-02-29 22:20:26 -05:00
|
|
|
};
|
|
|
|
|
|
2024-05-23 20:26:30 +00:00
|
|
|
outputs = inputs:
|
|
|
|
|
inputs.snowfall-lib.mkFlake {
|
|
|
|
|
inherit inputs;
|
|
|
|
|
src = ./.;
|
|
|
|
|
|
|
|
|
|
snowfall = {
|
|
|
|
|
namespace = "custom";
|
|
|
|
|
};
|
2024-05-03 13:33:06 -04:00
|
|
|
|
2024-05-23 20:26:30 +00:00
|
|
|
channels-config = {
|
|
|
|
|
allowUnfree = true;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
templates = import ./templates {};
|
|
|
|
|
|
|
|
|
|
homes.modules = with inputs; [
|
|
|
|
|
spicetify-nix.homeManagerModule
|
|
|
|
|
catppuccin.homeManagerModules.catppuccin
|
|
|
|
|
anyrun.homeManagerModules.default
|
|
|
|
|
ags.homeManagerModules.default
|
2024-02-29 22:20:26 -05:00
|
|
|
];
|
2024-04-16 14:38:07 -04:00
|
|
|
|
2024-05-23 20:26:30 +00:00
|
|
|
systems.modules.nixos = with inputs; [
|
|
|
|
|
lanzaboote.nixosModules.lanzaboote
|
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
|
catppuccin.nixosModules.catppuccin
|
|
|
|
|
blog.nixosModule
|
|
|
|
|
agenix.nixosModules.default
|
2024-04-17 20:52:27 -04:00
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
2024-05-23 20:26:30 +00:00
|
|
|
# outputs = {
|
|
|
|
|
# self,
|
|
|
|
|
# nixpkgs,
|
|
|
|
|
# nixpkgs_stable,
|
|
|
|
|
# systems,
|
|
|
|
|
# ...
|
|
|
|
|
# } @ inputs: let
|
|
|
|
|
# eachSystem = f:
|
|
|
|
|
# nixpkgs.lib.genAttrs (import systems) (
|
|
|
|
|
# system:
|
|
|
|
|
# f nixpkgs.legacyPackages.${system}
|
|
|
|
|
# );
|
|
|
|
|
# in {
|
|
|
|
|
# nixosConfigurations.pluto = nixpkgs_stable.lib.nixosSystem {
|
|
|
|
|
# specialArgs = {inherit inputs;};
|
|
|
|
|
# modules = [
|
|
|
|
|
# ./hosts/pluto/configuration.nix
|
|
|
|
|
# inputs.home-manager_stable.nixosModules.default
|
|
|
|
|
# inputs.blog.nixosModule
|
|
|
|
|
# inputs.agenix.nixosModules.default
|
|
|
|
|
# ];
|
|
|
|
|
# };
|
|
|
|
|
#
|
|
|
|
|
# nixosConfigurations.earth = nixpkgs.lib.nixosSystem {
|
|
|
|
|
# specialArgs = {inherit inputs;};
|
|
|
|
|
# modules = [
|
|
|
|
|
# ./hosts/earth/configuration.nix
|
|
|
|
|
# inputs.lanzaboote.nixosModules.lanzaboote
|
|
|
|
|
# inputs.home-manager.nixosModules.default
|
|
|
|
|
# inputs.catppuccin.nixosModules.catppuccin
|
|
|
|
|
# inputs.agenix.nixosModules.default
|
|
|
|
|
# ];
|
|
|
|
|
# };
|
|
|
|
|
#
|
|
|
|
|
# nixosConfigurations.live = nixpkgs.lib.nixosSystem {
|
|
|
|
|
# system = "x86_64-linux";
|
|
|
|
|
# specialArgs = {inherit inputs;};
|
|
|
|
|
# modules = [
|
|
|
|
|
# "${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-graphical-plasma5.nix"
|
|
|
|
|
# "${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
|
|
|
|
|
# # ./hosts/live/configuration.nix
|
|
|
|
|
# ];
|
|
|
|
|
# };
|
|
|
|
|
#
|
|
|
|
|
# devShells = eachSystem (pkgs: {
|
|
|
|
|
# default = pkgs.mkShell {
|
|
|
|
|
# buildInputs = [
|
|
|
|
|
# pkgs.nixd
|
|
|
|
|
# pkgs.alejandra
|
|
|
|
|
# pkgs.stylua
|
|
|
|
|
# pkgs.lua-language-server
|
|
|
|
|
# pkgs.luajitPackages.lua-lsp
|
|
|
|
|
# ];
|
|
|
|
|
# };
|
|
|
|
|
# });
|
|
|
|
|
# };
|
2024-02-29 22:20:26 -05:00
|
|
|
}
|