67 lines
1.6 KiB
Nix
67 lines
1.6 KiB
Nix
{
|
|
description = "Harald Hoyer's Nix Configurations";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
|
|
|
|
snowfall-lib = {
|
|
url = "github:snowfallorg/lib";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
neovim-flake.url = "github:notashelf/neovim-flake/v0.5";
|
|
neovim-flake.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
home-manager.url = "github:nix-community/home-manager/release-23.11";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
outputs = inputs:
|
|
let
|
|
lib = inputs.snowfall-lib.mkLib {
|
|
inherit inputs;
|
|
src = ./.;
|
|
|
|
snowfall.namespace = "plusultra";
|
|
|
|
snowfall = {
|
|
meta = {
|
|
name = "plusultra";
|
|
title = "Plus Ultra";
|
|
};
|
|
};
|
|
};
|
|
in
|
|
lib.mkFlake {
|
|
channels-config = {
|
|
allowUnfree = true;
|
|
};
|
|
|
|
homes.users."harald@nix.fedora.fritz.box".modules = with inputs; [
|
|
neovim-flake.homeManagerModules.default
|
|
];
|
|
|
|
homes.users."harald@sgx-nixos".modules = with inputs; [
|
|
neovim-flake.homeManagerModules.default
|
|
];
|
|
|
|
homes.users."harald@mpro.fritz.box".modules = with inputs; [
|
|
neovim-flake.homeManagerModules.default
|
|
];
|
|
|
|
# homes.modules = with inputs; [
|
|
# neovim-flake.homeManagerModules.default
|
|
# ];
|
|
|
|
systems.modules.nixos = with inputs; [
|
|
home-manager.nixosModules.home-manager
|
|
];
|
|
|
|
outputs-builder = channels: {
|
|
formatter = channels.nixpkgs.nixpkgs-fmt;
|
|
defaultApp = lib.flake-utils-plus.mkApp { drv = channels.nixpkgs.home-manager; };
|
|
};
|
|
|
|
};
|
|
}
|