users users usersssssss
This commit is contained in:
parent
9b58e51b36
commit
55fc9d45a5
4 changed files with 35 additions and 38 deletions
|
|
@ -17,11 +17,11 @@ in {
|
|||
blockYoutube = false;
|
||||
blockTwitter = true;
|
||||
|
||||
enableKDE = true;
|
||||
|
||||
boot.binfmt.emulatedSystems = ["aarch64-linux"];
|
||||
nix.settings.extra-platforms = config.boot.binfmt.emulatedSystems;
|
||||
|
||||
|
||||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.osbm = import ../../modules/home.nix {
|
||||
|
|
@ -59,20 +59,6 @@ in {
|
|||
hardware.bluetooth.enable = true; # enables support for Bluetooth
|
||||
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
|
||||
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
# services.xserver.libinput.enable = true;
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.osbm = {
|
||||
isNormalUser = true;
|
||||
description = "osbm";
|
||||
extraGroups = ["networkmanager" "wheel" "docker"];
|
||||
packages = with pkgs; [
|
||||
];
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPfnV+qqUCJf92npNW4Jy0hIiepCJFBDJHXBHnUlNX0k"
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
];
|
||||
|
|
|
|||
|
|
@ -14,6 +14,11 @@ in {
|
|||
../../modules
|
||||
];
|
||||
|
||||
blockYoutube = false;
|
||||
blockTwitter = true;
|
||||
|
||||
enableKDE = true;
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
|
@ -114,28 +119,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
# services.xserver.libinput.enable = true;
|
||||
|
||||
|
||||
users.users = {
|
||||
osbm = {
|
||||
isNormalUser = true;
|
||||
description = "osbm";
|
||||
extraGroups = ["networkmanager" "wheel" "docker"];
|
||||
packages = with pkgs; [
|
||||
];
|
||||
};
|
||||
bayram = {
|
||||
isNormalUser = true;
|
||||
description = "bayram";
|
||||
initialPassword = "changeme";
|
||||
extraGroups = ["networkmanager"];
|
||||
packages = with pkgs; [
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
|||
|
|
@ -9,5 +9,6 @@
|
|||
./i18n.nix
|
||||
./nix-settings.nix
|
||||
./secrets.nix
|
||||
./users.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
27
modules/users.nix
Normal file
27
modules/users.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
users.users = {
|
||||
osbm = {
|
||||
isNormalUser = true;
|
||||
description = "osbm";
|
||||
extraGroups = ["networkmanager" "wheel" "docker"];
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPfnV+qqUCJf92npNW4Jy0hIiepCJFBDJHXBHnUlNX0k"
|
||||
];
|
||||
packages = with pkgs; [
|
||||
];
|
||||
};
|
||||
bayram = {
|
||||
isNormalUser = true;
|
||||
description = "bayram";
|
||||
initialPassword = "changeme";
|
||||
extraGroups = ["networkmanager"];
|
||||
packages = with pkgs; [
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue