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;
|
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);
|
||||||
|
|
|
@ -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;
|
||||||
|
}
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
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