Initial commit

This commit is contained in:
hylodon 2026-02-22 17:59:18 +00:00
commit e9e0b0dc2a
6 changed files with 62 additions and 0 deletions

7
.gitignore vendored Normal file
View file

@ -0,0 +1,7 @@
*
!*/
!.gitignore
!flake.nix
!flake.lock
!lib/**.nix
!modules/**/*.nix

27
flake.lock generated Normal file
View file

@ -0,0 +1,27 @@
{
"nodes": {
"nixos": {
"locked": {
"lastModified": 1771574726,
"narHash": "sha256-D1PA3xQv/s4W3lnR9yJFSld8UOLr0a/cBWMQMXS+1Qg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c217913993d6c6f6805c3b1a3bda5e639adfde6d",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-25.11",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixos": "nixos"
}
}
},
"root": "root",
"version": 7
}

22
flake.nix Normal file
View file

@ -0,0 +1,22 @@
{
description = "hylonix: Nix configurations from hylodon.";
inputs = {
nixos.url = "github:NixOS/nixpkgs/nixos-25.11";
};
outputs =
{ self, nixos, ... }:
let
forAllSystems = nixos.lib.genAttrs nixos.lib.systems.flakeExposed;
in
{
formatter = forAllSystems (system: nixos.legacyPackages.${system}.nixfmt-tree);
hmModules = import ./modules/home-manager self.lib;
lib = import ./lib (nixos.lib // self.lib);
nixosModules = import ./modules/nixos self.lib;
};
}

2
lib/default.nix Normal file
View file

@ -0,0 +1,2 @@
lib: {
}

View file

@ -0,0 +1,2 @@
sLib: {
}

View file

@ -0,0 +1,2 @@
sLib: {
}