Compare commits

...

2 commits

Author SHA1 Message Date
32df8d6c5b remove .cache/.keep file
Some checks failed
Hydra nixosConfigurations.rainbow-resort Hydra build #24471 of nixos-config:pr618:nixosConfigurations.rainbow-resort
Hydra nixosConfigurations.thinkrac Hydra build #24472 of nixos-config:pr618:nixosConfigurations.thinkrac
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #24467 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.not522-installer Hydra build #24469 of nixos-config:pr618:nixosConfigurations.not522-installer
Hydra nixosConfigurations.pc-installer Hydra build #24470 of nixos-config:pr618:nixosConfigurations.pc-installer
Hydra nixosConfigurations.not522 Hydra build #24468 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #24465 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #24466 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra checks.x86_64-linux.containers-default Hydra build #24464 of nixos-config:pr618:checks.x86_64-linux.containers-default
2024-11-09 08:53:00 +01:00
4efc3d9af5 add kdeconnect 2024-11-09 08:45:58 +01:00
5 changed files with 46 additions and 16 deletions

View file

@ -18,21 +18,24 @@ with lib; {
programs.fuse.userAllowOther = true; programs.fuse.userAllowOther = true;
home-manager.users = listToAttrs (map (name: { home-manager.users = listToAttrs (map (name: {
inherit name; inherit name;
value.home.persistence.default = { value.home = {
persistentStoragePath = "/persistent/home/${name}"; file.".cache/.keep".enable = false;
allowOther = true; persistence.default = {
directories = [ persistentStoragePath = "/persistent/home/${name}";
"Downloads" allowOther = true;
"Music" directories = [
"Pictures" "Downloads"
"Documents" "Music"
"Videos" "Pictures"
{ "Documents"
directory = ".cache"; "Videos"
method = "symlink"; {
} directory = ".cache";
"Data" method = "symlink";
]; }
"Data"
];
};
}; };
}) })
config.environment.impermanence.users); config.environment.impermanence.users);

View file

@ -12,4 +12,17 @@
environment.plasma6.excludePackages = with pkgs.kdePackages; [ environment.plasma6.excludePackages = with pkgs.kdePackages; [
pkgs.elisa pkgs.elisa
]; ];
networking.firewall.allowedTCPPortRanges = [
{
from = 1714;
to = 1764;
}
];
networking.firewall.allowedUDPPortRanges = [
{
from = 1714;
to = 1764;
}
];
} }

View file

@ -1,4 +1,4 @@
{pkgs, ...}: { {pkgs, nixos-config, ...}: {
imports = [ imports = [
./firefox ./firefox
./password-manager.nix ./password-manager.nix
@ -6,8 +6,10 @@
./games ./games
./ims.nix ./ims.nix
./audacious.nix ./audacious.nix
"${nixos-config}/services/desktop"
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [
kdePackages.kontact kdePackages.kontact
]; ];
} }

View file

@ -0,0 +1,5 @@
{...}: {
imports = [
./kdeconnect.nix
];
}

View file

@ -0,0 +1,7 @@
{pkgs, ...}: {
services.kdeconnect = {
enable = true;
indicator = true;
package = pkgs.kdePackages.kdeconnect-kde;
};
}