Compare commits
2 commits
c4bbf46dab
...
32df8d6c5b
Author | SHA1 | Date | |
---|---|---|---|
32df8d6c5b | |||
4efc3d9af5 |
5 changed files with 46 additions and 16 deletions
|
@ -18,21 +18,24 @@ with lib; {
|
|||
programs.fuse.userAllowOther = true;
|
||||
home-manager.users = listToAttrs (map (name: {
|
||||
inherit name;
|
||||
value.home.persistence.default = {
|
||||
persistentStoragePath = "/persistent/home/${name}";
|
||||
allowOther = true;
|
||||
directories = [
|
||||
"Downloads"
|
||||
"Music"
|
||||
"Pictures"
|
||||
"Documents"
|
||||
"Videos"
|
||||
{
|
||||
directory = ".cache";
|
||||
method = "symlink";
|
||||
}
|
||||
"Data"
|
||||
];
|
||||
value.home = {
|
||||
file.".cache/.keep".enable = false;
|
||||
persistence.default = {
|
||||
persistentStoragePath = "/persistent/home/${name}";
|
||||
allowOther = true;
|
||||
directories = [
|
||||
"Downloads"
|
||||
"Music"
|
||||
"Pictures"
|
||||
"Documents"
|
||||
"Videos"
|
||||
{
|
||||
directory = ".cache";
|
||||
method = "symlink";
|
||||
}
|
||||
"Data"
|
||||
];
|
||||
};
|
||||
};
|
||||
})
|
||||
config.environment.impermanence.users);
|
||||
|
|
|
@ -12,4 +12,17 @@
|
|||
environment.plasma6.excludePackages = with pkgs.kdePackages; [
|
||||
pkgs.elisa
|
||||
];
|
||||
|
||||
networking.firewall.allowedTCPPortRanges = [
|
||||
{
|
||||
from = 1714;
|
||||
to = 1764;
|
||||
}
|
||||
];
|
||||
networking.firewall.allowedUDPPortRanges = [
|
||||
{
|
||||
from = 1714;
|
||||
to = 1764;
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{pkgs, ...}: {
|
||||
{pkgs, nixos-config, ...}: {
|
||||
imports = [
|
||||
./firefox
|
||||
./password-manager.nix
|
||||
|
@ -6,8 +6,10 @@
|
|||
./games
|
||||
./ims.nix
|
||||
./audacious.nix
|
||||
"${nixos-config}/services/desktop"
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
kdePackages.kontact
|
||||
];
|
||||
|
||||
}
|
||||
|
|
5
services/desktop/default.nix
Normal file
5
services/desktop/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./kdeconnect.nix
|
||||
];
|
||||
}
|
7
services/desktop/kdeconnect.nix
Normal file
7
services/desktop/kdeconnect.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{pkgs, ...}: {
|
||||
services.kdeconnect = {
|
||||
enable = true;
|
||||
indicator = true;
|
||||
package = pkgs.kdePackages.kdeconnect-kde;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue