This commit is contained in:
Alex Davies 2024-05-31 09:53:51 -03:00
commit d97b5629fc
3 changed files with 22 additions and 6 deletions

View File

@ -84,7 +84,7 @@
./nixos/kde-desktop.nix ./nixos/kde-desktop.nix
./nixos/cad.nix ./nixos/cad.nix
./nixos/zerotier.nix ./nixos/zerotier.nix
./nixos/work.nix ./nixos/family.nix
]; ];
}; };
#Work laptop, dell g15. #Work laptop, dell g15.

View File

@ -76,15 +76,23 @@
#Deduplicate nix store on a timer #Deduplicate nix store on a timer
nix.optimise.automatic = true; nix.optimise.automatic = true;
programs.neovim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget # wget
pkgs.neovim
pkgs.mosh pkgs.mosh
pkgs.git pkgs.git
pkgs.usbutils pkgs.usbutils
pkgs.pciutils pkgs.pciutils
pkgs.atool pkgs.atool
pkgs.comma
pkgs.home-manager
appimage-run appimage-run
]; ];

View File

@ -1,9 +1,13 @@
{ inputs, outputs, lib, config, pkgs, hostname, specialArgs, ... }: { { inputs, outputs, lib, config, pkgs, hostname, specialArgs, ... }:
services.displayManager = { let
autoLoginUser = specialArgs.mainUser or null;
in
{
services.displayManager = lib.mkIf (autoLoginUser != null) {
autoLogin.enable = true; autoLogin.enable = true;
autoLogin.user = "${specialArgs.mainUser}"; autoLogin.user = autoLoginUser;
}; };
users.users = { users.users = {
gwen = { gwen = {
@ -18,5 +22,9 @@
isNormalUser = true; isNormalUser = true;
extraGroups = [ "networkManager" ]; extraGroups = [ "networkManager" ];
}; };
logic11 = {
isNormalUser = true;
extraGroups = [ "wheel" "dialout" "networkmanager" "dialout" "docker" "plugdev" "vboxusers" ];
};
}; };
} }