From d80e4d59c7ca4f1d3d6714068c44aab40778cd23 Mon Sep 17 00:00:00 2001 From: Quentin Boyer Date: Sat, 25 Sep 2021 19:16:09 +0200 Subject: [PATCH] os: use localtimed --- nixos/localcfg.nix | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/nixos/localcfg.nix b/nixos/localcfg.nix index 0f89824..78e3bfb 100644 --- a/nixos/localcfg.nix +++ b/nixos/localcfg.nix @@ -58,12 +58,18 @@ in }; }; - users.users.traxys = { - uid = 1000; - isNormalUser = true; - home = "/home/traxys"; - extraGroups = [ "wheel" "networkmanager" "adbusers" ]; - shell = pkgs.zsh; + users = { + users = { + traxys = { + uid = 1000; + isNormalUser = true; + home = "/home/traxys"; + extraGroups = [ "wheel" "networkmanager" "adbusers" ]; + shell = pkgs.zsh; + }; + localtimed.group = "localtimed"; + }; + groups.localtimed = { }; }; # Set your time zone. @@ -71,7 +77,7 @@ in services.printing = { enable = true; - drivers = [pkgs.hplip]; + drivers = [ pkgs.hplip ]; }; hardware.opengl = {