refactor(flake-parts): initial flake-parts configuration
This commit is contained in:
parent
8f67be9e68
commit
5603001d65
230 changed files with 380 additions and 717 deletions
5
inputs/home/modules/desktop/tools/default.nix
Normal file
5
inputs/home/modules/desktop/tools/default.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./kdeconnect
|
||||
];
|
||||
}
|
||||
16
inputs/home/modules/desktop/tools/kdeconnect/default.nix
Normal file
16
inputs/home/modules/desktop/tools/kdeconnect/default.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ lib, config, osConfig, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkIf;
|
||||
inherit (builtins) elem;
|
||||
host = osConfig.systemModules.host;
|
||||
in
|
||||
|
||||
{
|
||||
config = mkIf (elem "workstation" host.function) {
|
||||
services.kdeconnect = {
|
||||
enable = true;
|
||||
indicator = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue