mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +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
|
./hardware-configuration.nix
|
||||||
./../../modules/core/default.server.nix
|
./../../modules/core/default.server.nix
|
||||||
./../../modules/services/violet.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";
|
networking.hostName = "violet";
|
||||||
|
|
||||||
nixpkgs.config.permittedInsecurePackages = [
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
|
|
@ -33,15 +25,16 @@
|
||||||
pkgs.kitty.terminfo
|
pkgs.kitty.terminfo
|
||||||
];
|
];
|
||||||
|
|
||||||
services.smartd = {
|
services = {
|
||||||
enable = lib.mkForce false;
|
smartd = {
|
||||||
autodetect = lib.mkForce false;
|
enable = lib.mkForce false;
|
||||||
|
autodetect = lib.mkForce false;
|
||||||
|
};
|
||||||
|
xserver.videoDrivers = [ "nvidia" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
liv.nvidia.enable = true;
|
liv.nvidia.enable = true;
|
||||||
|
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
loader.grub = {
|
loader.grub = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue