add swap file to wheatley
This commit is contained in:
parent
9c04783246
commit
c0d9fc440e
|
@ -2,23 +2,16 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
osConfig,
|
osConfig,
|
||||||
...
|
...
|
||||||
}: let
|
}: {
|
||||||
kdeconnect =
|
home.file.".config/kdeconnect/config" = {
|
||||||
pkgs.writeText "config"
|
text = ''
|
||||||
''
|
|
||||||
[General]
|
[General]
|
||||||
keyAlgorithm=EC
|
keyAlgorithm=EC
|
||||||
name=${osConfig.networking.hostName}
|
name=${osConfig.networking.hostName}
|
||||||
customDevices=10.0.0.2,10.0.0.3,10.0.0.4,10.0.0.5
|
customDevices=10.0.0.2,10.0.0.3,10.0.0.4,10.0.0.5
|
||||||
|
|
||||||
'';
|
'';
|
||||||
in {
|
|
||||||
home.file = {
|
|
||||||
"config" = {
|
|
||||||
source = "${kdeconnect}";
|
|
||||||
target = "~/.config/kdeconnect/config";
|
target = "~/.config/kdeconnect/config";
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
programs.plasma = {
|
programs.plasma = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -16,7 +16,12 @@
|
||||||
boot.extraModulePackages = [];
|
boot.extraModulePackages = [];
|
||||||
boot.supportedFilesystems = lib.mkForce ["btrfs" "cifs" "f2fs" "jfs" "ntfs" "reiserfs" "vfat" "xfs"];
|
boot.supportedFilesystems = lib.mkForce ["btrfs" "cifs" "f2fs" "jfs" "ntfs" "reiserfs" "vfat" "xfs"];
|
||||||
|
|
||||||
swapDevices = [];
|
swapDevices = [
|
||||||
|
{
|
||||||
|
device = "/var/lib/swapfile";
|
||||||
|
size = 16 * 1024;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
|
Loading…
Reference in a new issue