NixOS + home-manager configs, mirrored from GitLab SaaS. gitlab.com/andreijiroh-dev/nixops-config
nix-flake nixos home-manager nixpkgs nix-flakes
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 39 lines 1.0 kB view raw
1{ lib, config, pkgs, ... }: 2 3{ 4 services.timesyncd = { 5 enable = true; 6 servers = [ 7 # https://pubfiles.pagasa.dost.gov.ph/tamss/oras/time_synchronization_for_windows_7_and_8.pdf 8 "ntp.pagasa.dost.gov.ph" 9 # https://www.cloudflare.com/time/ 10 "time.cloudflare.com" 11 ]; 12 fallbackServers = [ 13 "0.asia.pool.ntp.org" 14 "1.asia.pool.ntp.org" 15 "2.asia.pool.ntp.org" 16 "3.asia.pool.ntp.org" 17 ]; 18 }; 19 20 # use systemd for boot stage 1 21 boot.initrd.systemd = { 22 enable = true; 23 extraBin = { 24 bash = lib.mkForce "${pkgs.bash}/bin/bash"; 25 utils = lib.mkForce "${pkgs.busybox}/bin/busybox"; 26 umount = lib.mkForce "${pkgs.util-linux}/bin/umount"; 27 nano = "${pkgs.nano}/bin/nano"; 28 }; 29 }; 30 boot.initrd.network.ssh.enable = true; 31 boot.initrd.network.ssh.authorizedKeys = with ./ssh-keys.nix; [ 32 personal.y2022 33 personal.passwordless 34 personal.rp.gildedguy 35 work.recaptime-dev.crew 36 fido2Keys.hackclub_yubikey.main 37 fido2Keys.hackclub_yubikey.backup 38 ]; 39}