nix/sini: add git user
Anirudh Oppiliappan x@icyphox.sh
Thu, 04 Jul 2024 23:21:39 +0300
3 files changed,
28 insertions(+),
2 deletions(-)
M
flake.lock
→
flake.lock
@@ -191,6 +191,22 @@ "repo": "nixpkgs",
"type": "github" } }, + "nixpkgs-master": { + "locked": { + "lastModified": 1720038964, + "narHash": "sha256-im/eyMVgBg5ZXT3QxyE9TM534OG0+D8CtiFbMrf0GpY=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "26d9cafa3461c8ec55a6aa7e76ec0f8db0737ff9", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "master", + "repo": "nixpkgs", + "type": "github" + } + }, "prompt": { "inputs": { "nixpkgs": [@@ -219,6 +235,7 @@ "nix-snapshotter": "nix-snapshotter",
"nix-your-shell": "nix-your-shell", "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs", + "nixpkgs-master": "nixpkgs-master", "prompt": "prompt" } },
M
hosts/sini/configuration.nix
→
hosts/sini/configuration.nix
@@ -61,6 +61,14 @@ extraGroups = [ "networkmanager" "wheel" "docker" ];
packages = with pkgs; [ ]; }; + users.users.git = { + isNormalUser = true; + description = "git"; + extraGroups = [ "networkmanager" "wheel" ]; + packages = with pkgs; [ ]; + }; + + nixpkgs.config.allowUnfree = true; environment.systemPackages = with pkgs; [ vim
M
hosts/wyndle/configuration.nix
→
hosts/wyndle/configuration.nix
@@ -115,7 +115,6 @@ };
sound.enable = true; hardware = { - opengl.driSupport = true; bluetooth = { enable = true; powerOnBoot = true;@@ -169,7 +168,6 @@ };
}; ddccontrol.enable = true; tailscale.enable = true; - auto-cpufreq.enable = true; # 1. chmod for rootless backligh1t # 2. lotus58 bootloader mode for rootless qmk flashing udev = {@@ -219,6 +217,9 @@
virtualisation.docker = { enable = true; logDriver = "json-file"; + extraOptions = '' + --insecure-registry "http://sini:5000" + ''; }; security = {