54 lines
1.6 KiB
Nix
54 lines
1.6 KiB
Nix
{
|
|
description = "snowhawk: a nixos configuration flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
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; };
|
|
|
|
repo-clone.url = "git+https://git.zynh.me/Zynh0722/repo-clone";
|
|
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"; };
|
|
};
|
|
|
|
outputs =
|
|
{ self, nixpkgs, ... }@inputs:
|
|
let
|
|
builders = import ./lib/builders.nix inputs;
|
|
in
|
|
{
|
|
nixosConfigurations =
|
|
builders.compileSystems
|
|
[
|
|
{
|
|
hostname = "snowhawk";
|
|
system = "x86_64-linux";
|
|
}
|
|
];
|
|
|
|
homeConfigurations =
|
|
builders.compileHomes
|
|
[
|
|
{
|
|
user = "zynh";
|
|
hostname = "msiserver";
|
|
system = "x86_64-linux";
|
|
}
|
|
{
|
|
user = "val";
|
|
hostname = "caveserver";
|
|
system = "x86_64-linux";
|
|
}
|
|
{
|
|
user = "zynh";
|
|
hostname = "little-lightning";
|
|
system = "aarch64-darwin";
|
|
}
|
|
];
|
|
|
|
overlays.default = import ./pkgs;
|
|
};
|
|
}
|