feat: add enable option for syncthing

This commit is contained in:
Jacob Bachmann 2024-07-12 14:42:19 +02:00
parent b090bf38ab
commit 807eb7efba
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
7 changed files with 19 additions and 13 deletions

View file

@ -22,6 +22,7 @@
bluetooth.enable = false;
printing.enable = true;
vpn.enable = true;
sync.enable = true;
devenv.enable = true;
virtualisation.enable = true;

View file

@ -22,6 +22,7 @@
bluetooth.enable = true;
printing.enable = true;
vpn.enable = true;
sync.enable = true;
devenv.enable = true;
virtualisation.enable = true;

View file

@ -1,6 +1,11 @@
{ ... }: {
{ ... }@inputs: {
imports = [ ./hardware.nix ];
imports = [
./hardware.nix
inputs.nixos-hardware.nixosModules.common-pc-laptop
inputs.nixos-hardware.nixosModules.common-pc-laptop-acpi_call
inputs.nixos-hardware.nixosModules.common-pc-laptop-ssd
];
networking.hostName = "W530";
@ -8,14 +13,15 @@
gui = {
enable = true;
greeter.enable = true;
flavour = [ "sway" "i3" ];
greeter.enable = false;
flavour = [ "sway" ];
};
nvidia.enable = false;
audio.enable = true;
bluetooth.enable = true;
printing.enable = true;
vpn.enable = true;
sync.enable = false;
devenv.enable = true;
virtualisation.enable = true;

View file

@ -1,15 +1,9 @@
{ config, lib, modulesPath, ... }:
{
imports =
[
(modulesPath + "/installer/scan/not-detected.nix")
];
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "firewire_ohci" "usb_storage" "sd_mod" "sr_mod" "sdhci_pci" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;