nixos/flake.nix

42 lines
1.6 KiB
Nix
Raw Permalink Normal View History

2024-02-26 07:33:11 +00:00
{
2024-05-30 03:43:48 +00:00
description = "snowhawk: a nixos configuration flake";
2024-02-26 07:33:11 +00:00
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
2024-10-02 14:07:25 +00:00
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
2024-09-18 05:16:08 +00:00
lix-module = { url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.0.tar.gz"; inputs.nixpkgs.follows = "nixpkgs"; };
2024-08-22 06:53:25 +00:00
neovim-overlay = { url = "github:nix-community/neovim-nightly-overlay"; inputs.nixpkgs.follows = "nixpkgs"; };
home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; };
sops-nix = { url = "github:mic92/sops-nix"; inputs.nixpkgs.follows = "nixpkgs"; };
dunst-theme = { url = "github:d2718nis/rose-pine-dunst"; flake = false; };
2024-09-12 00:34:57 +00:00
niri = { url = "github:sodiboo/niri-flake"; inputs.nixpkgs.follows = "nixpkgs"; };
2024-08-01 07:05:46 +00:00
repo-clone.url = "git+https://git.zynh.me/Zynh0722/repo-clone";
2024-08-22 06:53:25 +00:00
fish_theme = { url = "git+https://git.zynh.me/Zynh0722/omf-theme"; flake = false; };
backgrounds = { url = "git+https://git.zynh.me/Zynh0722/backgrounds"; inputs.nixpkgs.follows = "nixpkgs"; };
2024-02-26 07:33:11 +00:00
};
2024-06-28 14:48:26 +00:00
outputs =
{ self, nixpkgs, ... }@inputs:
let
2024-08-22 07:17:55 +00:00
builders = import ./builders.nix inputs;
in
2024-02-26 07:33:11 +00:00
{
2024-08-22 07:12:30 +00:00
nixosConfigurations = builders.compileSystems [
{ hostname = "snowhawk"; }
];
2024-08-10 18:21:22 +00:00
2024-08-22 07:12:30 +00:00
homeConfigurations = builders.compileHomes [
{ user = "zynh"; hostname = "msiserver"; }
{ user = "val"; hostname = "caveserver"; }
{
user = "zynh";
hostname = "little-lightning";
system = "aarch64-darwin";
}
];
2024-08-10 18:02:58 +00:00
overlays.default = import ./pkgs;
2024-02-26 07:33:11 +00:00
};
}