feat: add tailscale support and update timeZone
This commit is contained in:
parent
ab9b248551
commit
7db7922cd3
5 changed files with 275 additions and 3 deletions
|
@ -46,7 +46,15 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-gtk
|
||||
];
|
||||
config = {
|
||||
common.default = ["gtk"];
|
||||
};
|
||||
};
|
||||
systemd.user.services.mpris-proxy = {
|
||||
description = "Mpris proxy";
|
||||
after = ["network.target" "sound.target"];
|
||||
|
@ -74,13 +82,14 @@
|
|||
];
|
||||
# turned off because timedatectl doesn't like it
|
||||
time.hardwareClockInLocalTime = false;
|
||||
time.timeZone = "Europe/Athens";
|
||||
services = {
|
||||
#displayManager.sddm = {
|
||||
# enable = true;
|
||||
# wayland.enable = true;
|
||||
# theme = "${import ./sddm-theme.nix {inherit pkgs;}}";
|
||||
#};
|
||||
automatic-timezoned.enable = true;
|
||||
#automatic-timezoned.enable = true;
|
||||
openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "usb_storage" "usbhid" "sd_mod"];
|
||||
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "usbhid"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = ["kvm-amd"];
|
||||
boot.extraModulePackages = [];
|
||||
|
@ -28,6 +28,11 @@
|
|||
options = ["fmask=0022" "dmask=0022"];
|
||||
};
|
||||
|
||||
fileSystems."/games" = {
|
||||
device = "/dev/disk/by-uuid/492b4058-0507-456d-b694-a340222d35af";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
swapDevices = [];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
|
|
|
@ -6,5 +6,6 @@
|
|||
./misc.service.nix
|
||||
./avahi.service.nix
|
||||
./printing.service.nix
|
||||
./tailscale.service.nix
|
||||
];
|
||||
}
|
||||
|
|
9
nixos/services/tailscale.service.nix
Normal file
9
nixos/services/tailscale.service.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue