working darwin system
parent
d7dd5f2236
commit
856d6caa9d
@ -1,5 +1,16 @@
|
||||
{ config, lib, ... }: {
|
||||
{ config, lib, pkgs, ... }: {
|
||||
security.pam.enableSudoTouchIdAuth = true;
|
||||
services.nix-daemon.enable = true;
|
||||
|
||||
homebrew = {
|
||||
enable = true;
|
||||
casks = [
|
||||
"discord"
|
||||
"firefox-developer-edition"
|
||||
"alfred"
|
||||
"ukelele"
|
||||
];
|
||||
taps = ["homebrew/cask" "homebrew/cask-versions" ];
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,14 @@
|
||||
{ pkgs, lib, ... }: {
|
||||
config.users.users.carsten = lib.mkIf pkgs.stdenv.isLinux {
|
||||
isNormalUser = true;
|
||||
description = "Carsten Kragelund";
|
||||
hashedPassword = "$y$j9T$oL/jNqI1yz65OuUnJvpCn1$MC7.xSyvprru7QmqQVsGyBKZf2b4w7R7U.TmfzSBY39";
|
||||
shell = pkgs.bash;
|
||||
extraGroups = [
|
||||
"networkmanager" # Use networks
|
||||
"wheel" # Sudoer
|
||||
"vboxusers" # VirtualBox
|
||||
"docker" # Containers
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue