Eman Resu
5f5a4ce7d6
refactor: rewrite tmpfiles.users for readability
2025-06-05 09:48:29 -04:00
Eman Resu
59ba038112
refactor: rewrite assertions to use let binding
2025-06-05 09:35:07 -04:00
Eman Resu
8a0d0774ea
refactor: rewrite users.users to use lib.pipe
2025-06-05 09:34:00 -04:00
Eman Resu
731d3965c5
refactor: use ++ instead of concatLists
2025-06-05 08:03:22 -04:00
Eman Resu
9e5707b8fe
refactor: remove unused type
2025-06-05 08:01:08 -04:00
Gerg-L
d16364a72c
re-gergify
2025-05-05 19:02:48 -04:00
NotAShelf
77b37eeb58
revert "Merge pull request #23 from Gerg-L/main"
...
This reverts commit b034b70f88 , reversing
changes made to e3b63f300f .
2025-05-04 13:46:29 +03:00
Gerg-L
d1b4a447ea
lint: gergify modules/common.nix
2025-05-03 01:25:02 -04:00
Gerg-L
b97d6e43bf
lint: gergify modules/nixos/default.nix
2025-05-03 01:25:02 -04:00
Gerg-L
11e72ae060
lint: flip out
2025-05-03 01:25:02 -04:00
Gerg-L
0e81c45c29
fix: reverse specialArgs merge
2025-05-03 01:25:00 -04:00
NotAShelf
e3b63f300f
modules/nixos: remove renamed options
...
Enough time has passed that everyone who uses Hjem should have migrated. I do not want to eval implications, and I don't want to accidentally trip warnings for people who want to use the `homes` namespace themselves
2025-04-06 19:21:36 +03:00
NotAShelf
05fc9b4fcd
modules/nixos: provide osConfig specialArg
2025-04-06 19:20:24 +03:00
Anthony Rodriguez
5a659b1a7c
modules/nixos: add hjem.users.<user>.environment
2025-02-21 17:49:38 +01:00
NotAShelf
db6e3af3e5
modules: rename hjem.extraSpecialArgs to hjem.specialArgs
...
Okay they are just special, not *extra* special.
2025-01-21 16:09:16 +03:00
NotAShelf
2979f66c4a
modules/nixos: add extraSpecialArgs
2024-12-28 22:50:43 +03:00
NotAShelf
305994a264
modules/common: account for non-linux linking methods in clobber desc
2024-12-28 15:12:57 +03:00
NotAShelf
a9474287c1
modules/nixos: filter users that are not enabled
2024-12-28 03:29:06 +03:00
NotAShelf
5f02693cc1
modules: add examples and clean up descriptions
2024-12-28 03:27:11 +03:00
NotAShelf
82cb17efff
modules/nixos: propagate hjem.clobberByDefault to user attrs
2024-12-28 03:13:03 +03:00
NotAShelf
0e3eb7d2fd
modules: platform-independent module
...
Drops excessve reliance on Nixpkgs modules inside the module options, and prepares for further platform support.
2024-12-28 02:46:10 +03:00
NotAShelf
ff88f7ecf1
modules/nixos: use literalExpression for clobberByDefault defaultText
2024-12-28 00:53:10 +03:00
NotAShelf
91034ea82c
modules/nixos: add hjem.clobberByDefault
...
This should help modify clobber behaviour without having to pass it to each file manually.
2024-12-27 06:07:01 +03:00
NotAShelf
1d18a6d6e6
modules/nixos: move Hjem options under the hjem namespace
2024-12-27 05:58:00 +03:00
éclairevoyant
5bffebfc58
modules/nixos: fix eval
2024-12-22 10:34:23 -05:00
éclairevoyant
76c4990d36
nixos/modules: simplify tmpfile rule string construction
2024-12-21 09:46:15 -05:00
éclairevoyant
01ec6658a8
nixos/modules: disallow null for bool options
2024-12-20 22:29:31 -05:00
éclairevoyant
2bfeb343f4
nixos/modules: escape target name in tmpfiles rules
2024-12-20 22:24:59 -05:00
éclairevoyant
2a1a2afc4c
nixos/modules: fix priority for source in submodule
2024-12-20 22:21:21 -05:00
NotAShelf
a5fd23cdef
homes: clarify default behaviour and purpose of directory
2024-12-14 03:36:09 +03:00
NotAShelf
7f9d393db4
homes: allow modifying clobber behaviour
...
While a file is set to clobber existing paths, tmpfiles will be generated with 'L+' (recreate) mode to seamlessly override existing paths. Defaults to false
2024-12-14 03:01:20 +03:00
NotAShelf
012daa6a01
modules/nixos:add descriptions to files and packages options
2024-12-13 22:14:58 +03:00
NotAShelf
6569c06c06
modules/nixos: implement homes.<name>.packages
...
Acts as a consistent interface for 'homes.<name>' to also modify
users' packages similar to 'home.packages' that users might be
used to. We can map 'homes.<name>.packages' directly to the NixOS
option 'users.users.<name>.packages' to replicate the same behaviour
without PATH hacks.
2024-12-13 22:08:09 +03:00
NotAShelf
cf2cc408d1
initial commit
2024-12-13 20:38:29 +03:00