1
0
Fork 0

full rewrite, first commit

This commit is contained in:
Philipp 2025-02-05 17:58:09 +01:00
commit a83c37a638
Signed by: Philipp
GPG key ID: 9EBD8439AFBAB750
24 changed files with 4358 additions and 0 deletions

56
flake.nix Normal file
View file

@ -0,0 +1,56 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:nixos/nixos-hardware";
home-manager = {
url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs";
};
snowfall-lib = {
url = "github:snowfallorg/lib";
inputs.nixpkgs.follows = "nixpkgs";
};
firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
inputs.nixpkgs.follows = "nixpkgs";
};
nvf.url = "github:notashelf/nvf";
};
outputs =
inputs:
let
lib = inputs.snowfall-lib.mkLib {
inherit inputs;
src = ./.;
# Configure Snowfall Lib, all of these settings are optional.
snowfall = {
root = ./.;
namespace = "awesome-flake";
meta = {
name = "awesome-flake";
title = "Awesome Flake";
};
};
};
in
lib.mkFlake {
channels-config.allowUnfree = true;
home-manager.backupFileExtension = "hm-bk";
systems.modules.nixos = with inputs; [
home-manager.nixosModules.home-manager
nvf.nixosModules.default
];
outputs-builder = channels: { formatter = channels.nixpkgs.nixfmt-rfc-style; };
}
// {
self = inputs.self;
};
}