anntnzrb
adbd6680dc
refactor(internal): add create-simple-derivations helper
2025-10-08 23:28:02 -05:00
anntnzrb
e4771be1c1
refactor(path): add get-output-name helper to eliminate duplication
2025-10-08 23:27:36 -05:00
anntnzrb
1f7af06347
fix: correct fold argument order in get-libs function
...
Fix argument order for fold/foldr - the list element comes before the
accumulator in foldr, not after. This was causing evaluation errors
when using the library.
2025-10-08 23:11:50 -05:00
anntnzrb
47c33cfae1
docs: add comments explaining unsafeDiscardStringContext usage
...
Add clear documentation for all uses of unsafeDiscardStringContext,
explaining that it's necessary when building flake outputs based on
file paths, as Nix doesn't allow using paths as attribute names directly.
2025-10-08 23:11:44 -05:00
anntnzrb
cedfe30aab
refactor: remove rec keyword across codebase
...
Replace rec keyword with modern Nix patterns:
- Use explicit let...in bindings with inherit statements
- Use fix for recursive package bindings in package/default.nix
- This improves maintainability and follows idiomatic Nix patterns
Files modified:
- snowfall-lib/flake/default.nix
- snowfall-lib/fp/default.nix
- snowfall-lib/home/default.nix
- snowfall-lib/system/default.nix
- snowfall-lib/package/default.nix
2025-10-08 23:11:33 -05:00
anntnzrb
973b06a645
refactor: reduce code duplication with merge-with-aliases helper
...
Add merge-with-aliases function to attrs module and use it across checks,
modules, packages, shells, and templates to eliminate repeated alias merging
logic. Also optimize get-libs by replacing filter+map with a fold operation.
2025-10-08 22:40:48 -05:00
anntnzrb
a905b259d5
chore: remove .github directory
2025-10-08 22:07:58 -05:00
anntnzrb
313e1fab46
chore: remove flake-compat (legacy support)
2025-10-08 22:06:28 -05:00
anntnzrb
9bd2ffc288
style: fmt
2025-10-08 21:56:09 -05:00
anntnzrb
592bb5148d
chore: switch formatter from alejandra to nixfmt
2025-10-08 21:55:34 -05:00
anntnzrb
22f45f9cf3
chore: bump nixpkgs to release-25.05
2025-10-08 21:47:13 -05:00
anntnzrb
ff10f4dfbf
chore: update flake-utils-plus to master branch
2025-10-08 21:44:48 -05:00
anntnzrb
d1eb5eb25b
feat: enable per-channel configuration and fix pkgs selection
2025-10-08 21:35:51 -05:00
anntnzrb
012761f5f3
feat: support same username across multiple targets
2025-10-08 21:31:14 -05:00
anntnzrb
3d03566997
fix: pass namespace argument to home-manager modules
2025-10-08 21:27:22 -05:00
anntnzrb
b85b94de04
fix: pass namespace argument to overlays
2025-10-08 21:24:21 -05:00
anntnzrb
f00967f8a9
feat: auto-extract template descriptions from flake.nix
2025-10-08 21:21:52 -05:00
anntnzrb
3f738f00e0
perf: replace ./ with self to improve evaluation speed
2025-10-08 21:14:24 -05:00
Jake Hamilton
02d941739f
Merge pull request #153 from michaelBelsanti/main
...
fix: replace cfg.useUserPackages with home-manager.useUserPackages
2025-01-05 18:28:15 -08:00
michaelBelsanti
6231ee4443
fix: replace cfg.useUserPackages with home-manager.useUserPackages
2025-01-05 15:35:37 -05:00
Jake Hamilton
cfeacd0555
Merge pull request #141 from msfjarvis/main
...
fix: replace `pkgs.system` with `pkgs.stdenv.hostPlatform.system`
2024-11-25 06:17:54 -08:00
Harsh Shandilya
fe5c2acd4b
fix: replace pkgs.system with pkgs.stdenv.hostPlatform.system
2024-11-24 23:58:15 +05:30
Jake Hamilton
dd348182c1
Merge pull request #122 from cscutcher/patch-1
...
fix: Correct simple typo in definition`os-user-home` in home module
2024-10-28 10:22:01 -07:00
Jake Hamilton
d9ce57bd9e
Merge pull request #133 from MrIngelborn/patch-1
...
feat: Add proxmox-lxc to virtual systems
2024-10-28 04:52:57 -07:00
Jake Hamilton
6707fe8c45
Merge pull request #134 from dtgagnon/patch-1
...
"Fix": in virtual-systems.nix, swapped position "raw-efi" <-> "raw"
2024-10-28 04:51:42 -07:00
dtgagnon
b99bc8db44
Update virtual-systems.nix
...
Re-ordered to align w/ most -> least specific.
2024-10-28 07:40:51 -04:00
Marcus Ingelborn
81aaf22d46
Add proxmox-lxc to virtual systems
2024-10-25 20:43:56 +00:00
Chris Scutcher
b5d4366dfd
fix: Correct simple typo in home module
2024-07-26 12:10:06 +01:00
Jake Hamilton
c6238c83de
Merge pull request #113 from ClicksCodes/fix-transitive-sytem-lib
...
fix: make system-lib imports use namespaces
2024-06-21 14:39:44 -07:00
Skyler Grey
312ad5d16c
fix: make system-lib imports use namespaces
...
Previously when you accessed stuff on your lib via snowfall-lib's
internal system-lib (e.g. with lib.snowfall.internal.system-lib.my-namespace.my-lib-function)
the lib which is passed to *your* lib used hardcoded the "internal" name
This makes lib functions in your flake's lib break if they use other lib
functions in your flake's lib
2024-06-21 21:37:25 +00:00
Jake Hamilton
aa19b02b63
Merge pull request #105 from snowfallorg/dev
...
fix: revert fs path type usage
2024-06-11 02:15:23 -07:00
Jake Hamilton
c7edfb1b93
Merge pull request #102 from thelioncape/main
...
Add proxmox-lxc to virtual-systems to support generating proxmox lxc tarballs
2024-06-11 02:15:04 -07:00
Jake Hamilton
5a10d2e37b
fix: revert fs path type usage
2024-06-05 15:13:19 -07:00
thelioncape
0175d23bc4
Update virtual-systems.nix with proxmox-lxc
2024-06-04 21:58:45 +01:00
Jake Hamilton
5d6e9f2357
Merge pull request #96 from snowfallorg/dev
...
fix(templates): remove leftover debugging statements
2024-05-25 15:14:52 -07:00
Jake Hamilton
727d634555
Merge pull request #94 from msfjarvis/dev
2024-05-24 08:03:39 -07:00
Harsh Shandilya
f5a43fbc1b
fix(templates): remove leftover debugging statements
2024-05-24 15:36:00 +05:30
Jake Hamilton
439d463a8a
Merge pull request #93 from snowfallorg/dev
...
fix: strip nix store path prefix from module names
2024-05-23 17:51:14 -07:00
Jake Hamilton
69545781ac
fix: strip nix store path prefix from module names
2024-05-23 17:50:10 -07:00
Jake Hamilton
9407d4127b
Merge pull request #90 from snowfallorg/dev
...
fix: convert path to string in fs helpers
2024-05-23 14:48:46 -07:00
Jake Hamilton
9a44c0fb8a
fix: convert path to string in fs helpers
2024-05-23 14:48:03 -07:00
Jake Hamilton
a1064c4b69
fix: use strings for calculated paths
2024-05-23 14:44:14 -07:00
Jake Hamilton
34c1697a53
fix: pin flake-utils-plus to bugfix version
2024-05-23 02:31:37 -07:00
Jake Hamilton
c58023878d
Merge pull request #88 from snowfallorg/dev
...
Snowfall Lib v3
2024-05-22 20:06:12 -07:00
Jake Hamilton
b2e6364075
feat: namespace arg, inputs for packages and overlays, get lib from root, add checks
2024-05-22 19:03:29 -07:00
Jake Hamilton
d6b766939a
chore: bump nixpkgs and flake-utils-plus
2024-05-19 23:20:35 -07:00
PerchunPak
1ee256fa62
fix: allow modules modules that are not functions
2024-05-19 23:20:34 -07:00
Jake Hamilton
63a1abf65b
feat: support target-wide user home
2024-05-19 23:20:33 -07:00
Jake Hamilton
8d6612527a
refactor: rename snowfallorg.user to snowfallorg.users in system configs
2024-05-19 23:20:32 -07:00
Jake Hamilton
1fd6a70a82
fix: check for hyperv install iso first
2024-05-19 23:20:31 -07:00