mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
chore: tidy up config a bit; move things around
This commit is contained in:
parent
4da11942eb
commit
b953c86a2f
1 changed files with 7 additions and 14 deletions
|
|
@ -9,17 +9,9 @@
|
|||
./hardware-configuration.nix
|
||||
./../../modules/core/default.server.nix
|
||||
./../../modules/services/violet.nix
|
||||
# ./backups.nix # disable for now, test first.
|
||||
];
|
||||
|
||||
services.borgbackup.jobs.liv-violet = {
|
||||
paths = "/home/liv";
|
||||
encryption.mode = "none";
|
||||
environment.BORG_RSH = "ssh -i /home/liv/.ssh/id_ed25519";
|
||||
repo = "ssh://liv@100.115.178.50:9123/spinners/rootvol/backups/servers/liv-violet";
|
||||
compression = "auto,zstd";
|
||||
startAt = "daily";
|
||||
};
|
||||
|
||||
networking.hostName = "violet";
|
||||
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
|
|
@ -33,15 +25,16 @@
|
|||
pkgs.kitty.terminfo
|
||||
];
|
||||
|
||||
services.smartd = {
|
||||
services = {
|
||||
smartd = {
|
||||
enable = lib.mkForce false;
|
||||
autodetect = lib.mkForce false;
|
||||
};
|
||||
xserver.videoDrivers = [ "nvidia" ];
|
||||
};
|
||||
|
||||
liv.nvidia.enable = true;
|
||||
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
|
||||
boot = {
|
||||
loader.grub = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue