mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-01-18 17:11:39 +01:00
enable zram for the vps
This commit is contained in:
parent
1169e53c76
commit
99432a7244
6 changed files with 23 additions and 9 deletions
|
@ -60,6 +60,7 @@ sda
|
|||
├─sda1 /
|
||||
├─sda14 # BIOS boot
|
||||
└─sda15 /boot/efi # EFI stuff
|
||||
zram0 [SWAP]
|
||||
```
|
||||
|
||||
### vm
|
||||
|
|
|
@ -170,11 +170,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1687167448,
|
||||
"narHash": "sha256-p4/h9h6Inj34uwf0ncww8Ufub6Vpk+5vHGVTwUT4z1E=",
|
||||
"lastModified": 1687204608,
|
||||
"narHash": "sha256-rZ0e0iAIQM7vlsMd2/pcGfymZzNBRawObFgqIpxE94c=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "a10aa82e8aaee11d8e8b8c5e7e19f758a7553bf0",
|
||||
"rev": "f06a43dca05fb7f1aa44742bf861d9c827b45122",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
initrd.systemd.enable = true;
|
||||
};
|
||||
zramSwap.enable = true;
|
||||
|
||||
time.timeZone = "Europe/Berlin";
|
||||
|
||||
|
|
|
@ -165,6 +165,16 @@ in
|
|||
};
|
||||
"iFSR" = rec {
|
||||
address = "rouven.seifert@ifsr.de";
|
||||
signature = {
|
||||
showSignature = "append";
|
||||
text = ''
|
||||
Rouven Seifert
|
||||
|
||||
Fachschaftsrat Informatik TU Dresden
|
||||
Fakultät Informatik
|
||||
Nöthnitzer Str. 46, 01187 Dresden
|
||||
'';
|
||||
};
|
||||
primary = true;
|
||||
gpg.key = gpg-default-key;
|
||||
realName = "Rouven Seifert";
|
||||
|
@ -286,6 +296,9 @@ in
|
|||
enable = true;
|
||||
mailboxName = " gmail";
|
||||
extraMailboxes = lib.lists.forEach [ c.sent c.trash c.junk c.drafts ] (x: x.nearPattern);
|
||||
extraConfig = ''
|
||||
set copy = no
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -11,8 +11,12 @@
|
|||
shell = lib.getExe pkgs.zsh;
|
||||
dpi-aware = "yes";
|
||||
font = "monospace:family=Iosevka Nerd Font, size=8";
|
||||
notify = "${lib.getExe pkgs.libnotify} -a \${app-id} -i \${app-id} \${title} \${body}";
|
||||
};
|
||||
cursor.color = "${colors.background} ${colors.foreground}";
|
||||
url = {
|
||||
launch = "${pkgs.xdg-utils}/bin/xdg-open \${url}";
|
||||
};
|
||||
bell = {
|
||||
urgent = true;
|
||||
notify = true;
|
||||
|
|
|
@ -24,11 +24,6 @@
|
|||
];
|
||||
programs.helix = {
|
||||
enable = true;
|
||||
themes.dracula-transparent = {
|
||||
inherits = "dracula";
|
||||
"ui.background" = "{}";
|
||||
"ui.virtual.inlay-hint" = { fg = "#666666"; };
|
||||
};
|
||||
languages = {
|
||||
language = [
|
||||
{
|
||||
|
@ -39,7 +34,7 @@
|
|||
];
|
||||
};
|
||||
settings = {
|
||||
theme = "dracula-transparent";
|
||||
theme = "dracula";
|
||||
editor = {
|
||||
line-number = "relative";
|
||||
cursor-shape.insert = "bar";
|
||||
|
|
Loading…
Reference in a new issue