stuff?
This commit is contained in:
parent
6869c2acbd
commit
3bfebb286d
14 changed files with 235 additions and 34 deletions
5
hosts/common/optional/docker.nix
Normal file
5
hosts/common/optional/docker.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -2,23 +2,25 @@
|
|||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
|
||||
in {
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.luna = {
|
||||
isNormalUser = true;
|
||||
description = "luna";
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [
|
||||
extraGroups = ifTheyExist [
|
||||
"audio"
|
||||
"docker"
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
];
|
||||
packages = with pkgs; [
|
||||
# thunderbird
|
||||
gnome-software
|
||||
git
|
||||
neovim
|
||||
rustup
|
||||
vscode.fhs
|
||||
protonvpn-gui
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue