feat: restructure and move apps into their own configs (#2)
This commit is contained in:
25
home/linux/default.nix
Normal file
25
home/linux/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
lib,
|
||||
device,
|
||||
...
|
||||
}: {
|
||||
imports =
|
||||
[]
|
||||
++ (lib.optionals device.hasGui [
|
||||
./hyprland.nix
|
||||
./gtk.nix
|
||||
./anyrun.nix
|
||||
./ironbar
|
||||
./foot.nix
|
||||
./mpd.nix
|
||||
]);
|
||||
|
||||
services.kdeconnect.enable = device.hasGui;
|
||||
services.kdeconnect.indicator = device.hasGui;
|
||||
services.swayosd.enable = device.hasGui;
|
||||
services.swaync.enable = device.hasGui;
|
||||
services.nextcloud-client = {
|
||||
enable = device.hasGui;
|
||||
startInBackground = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user