nixos/flake.nix

45 lines
1.9 KiB
Nix
Raw 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
2024-11-05 08:55:25 +00:00
nix-darwin = { url = "github:LnL7/nix-darwin"; inputs.nixpkgs.follows = "nixpkgs"; };
2024-08-01 07:05:46 +00:00
repo-clone.url = "git+https://git.zynh.me/Zynh0722/repo-clone";
zdwm = { url = "git+https://git.zynh.me/Zynh0722/dwm"; flake = false; };
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-10-26 22:33:20 +00:00
umu = { url = "git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging\/nix&submodules=1"; 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-11-06 01:11:49 +00:00
nixosConfigurations = builders.compileNixosSystems [
2024-08-22 07:12:30 +00:00
{ hostname = "snowhawk"; }
];
2024-08-10 18:21:22 +00:00
2024-11-06 01:13:01 +00:00
darwinConfigurations = builders.compileDarwinSystems [
{ hostname = "little-lightning"; }
];
2024-08-22 07:12:30 +00:00
homeConfigurations = builders.compileHomes [
{ user = "zynh"; hostname = "msiserver"; }
{ user = "val"; hostname = "caveserver"; }
2024-11-05 08:55:25 +00:00
];
2024-08-10 18:02:58 +00:00
overlays.default = import ./pkgs;
2024-02-26 07:33:11 +00:00
};
}