mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Set wallpaper per user
This commit is contained in:
parent
af1fe2e180
commit
7499e9dc5e
4 changed files with 10 additions and 4 deletions
|
|
@ -9,9 +9,14 @@
|
|||
in {
|
||||
imports = [./qtile];
|
||||
|
||||
options.myConfig.dm.tray = {
|
||||
syncthing.enable = lib.mkEnableOption "";
|
||||
networkmanager.enable = lib.mkEnableOption "";
|
||||
options.myConfig.dm = {
|
||||
wallpaper = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
};
|
||||
tray = {
|
||||
syncthing.enable = lib.mkEnableOption "";
|
||||
networkmanager.enable = lib.mkEnableOption "";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkMerge [
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
];
|
||||
|
||||
home.file.".config/qtile/config.py".source = ./qtile.py;
|
||||
home.file.".background-image".source = ./background-image;
|
||||
home.file.".background-image".source = config.myConfig.dm.wallpaper;
|
||||
|
||||
home.packages = [
|
||||
# Widget dependencies
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
myConfig = {
|
||||
dm = {
|
||||
qtile.enable = true;
|
||||
wallpaper = ./wallpaper;
|
||||
tray.syncthing.enable = true;
|
||||
};
|
||||
vscode.enable = true;
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 114 KiB After Width: | Height: | Size: 114 KiB |
Loading…
Add table
Add a link
Reference in a new issue