From d16a03d59147b352e80a3b4f095b913b97d8da1a Mon Sep 17 00:00:00 2001 From: Sokhibjon Orzikulov Date: Wed, 28 Aug 2024 17:42:44 +0500 Subject: [PATCH] remove sudo from jakhongir and sardor and change disk labels --- modules/nixos/users/jakhongir.nix | 2 +- modules/nixos/users/sardor.nix | 2 +- nixos/kolyma-3/hardware-configuration.nix | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/nixos/users/jakhongir.nix b/modules/nixos/users/jakhongir.nix index 27e2cda..5b320ef 100644 --- a/modules/nixos/users/jakhongir.nix +++ b/modules/nixos/users/jakhongir.nix @@ -15,7 +15,7 @@ openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPv6diUR/ACrAaO5ILnPYqbj+wqZIUZTYKr0ccVnftfs jony@jonys-arch" ]; - extraGroups = [ "networkmanager" "wheel" "docker" "admins" ]; + extraGroups = [ "docker" "admins" ]; }; }; diff --git a/modules/nixos/users/sardor.nix b/modules/nixos/users/sardor.nix index 1d326e0..e245397 100644 --- a/modules/nixos/users/sardor.nix +++ b/modules/nixos/users/sardor.nix @@ -15,7 +15,7 @@ openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIATIYPqUdcP64tufjGii7LNncg5N2AzX7fj4JH3Vtdq2 mhw0@yahoo.com" ]; - extraGroups = [ "networkmanager" "wheel" "docker" "admins" ]; + extraGroups = [ "docker" "admins" ]; }; }; diff --git a/nixos/kolyma-3/hardware-configuration.nix b/nixos/kolyma-3/hardware-configuration.nix index 895b9c5..3f78b12 100644 --- a/nixos/kolyma-3/hardware-configuration.nix +++ b/nixos/kolyma-3/hardware-configuration.nix @@ -21,18 +21,18 @@ }; fileSystems."/" = { - device = "/dev/disk/by-uuid/cfa68e38-a4dd-401f-9794-224a4e1dfd08"; + device = "/dev/disk/by-uuid/a5ccf292-63ec-4104-a57d-6ac4d497f3ff"; fsType = "ext4"; }; fileSystems."/boot" = { - device = "/dev/disk/by-uuid/1B12-CEDF"; + device = "/dev/disk/by-uuid/86D4-469D"; fsType = "vfat"; options = [ "fmask=0022" "dmask=0022" ]; }; swapDevices = [ - { device = "/dev/disk/by-uuid/1e7187bf-7374-41d6-bf0d-4c38a51e02bd"; } + { device = "/dev/disk/by-uuid/4320a760-6776-4071-a75e-77d3be13be35"; } ]; network = {