feat(users): add stylix; add wallpapers
This commit is contained in:
parent
a22dc3cc19
commit
85d17f0bc3
2 changed files with 15 additions and 2 deletions
BIN
users/Sk7Str1p3/wallpaper.jpg
Normal file
BIN
users/Sk7Str1p3/wallpaper.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.2 MiB |
|
|
@ -24,6 +24,8 @@
|
|||
userPassword: {hash}
|
||||
```
|
||||
where `{hash}` is result of `echo {your password} | mkpasswd -s`
|
||||
|
||||
Wallpapers can be `png` or `jpg` format, and must be stored at `users/{user}/wallpaper.{ext}`
|
||||
*/
|
||||
{
|
||||
lib,
|
||||
|
|
@ -74,10 +76,21 @@
|
|||
${user} = {
|
||||
imports = [
|
||||
./${user}/modules
|
||||
|
||||
inputs.stylix.homeModules.stylix
|
||||
];
|
||||
}
|
||||
stylix = {
|
||||
enable = true;
|
||||
image =
|
||||
if builtins.pathExists ./${user}/wallpaper.png then
|
||||
./${user}/wallpaper.png
|
||||
else
|
||||
./${user}/wallpaper.jpg;
|
||||
};
|
||||
home.stateVersion = config.system.stateVersion;
|
||||
};
|
||||
}) cfg.usersList
|
||||
)
|
||||
);
|
||||
};
|
||||
|
||||
# Configure DM and users' default sessions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue