added docker
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./brave.nix
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
../../modules/system/locale.nix
|
||||
../../modules/system/audio.nix
|
||||
../../modules/system/printing.nix
|
||||
../../modules/system/docker.nix
|
||||
];
|
||||
|
||||
networking.hostName = "segfault-machine";
|
||||
|
||||
6
modules/system/docker.nix
Normal file
6
modules/system/docker.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
rootless = true;
|
||||
};
|
||||
}
|
||||
@@ -1,14 +1,11 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
users.users.lukas = {
|
||||
isNormalUser = true;
|
||||
description = "lukas";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
extraGroups = [ "networkmanager" "wheel" "docker"];
|
||||
};
|
||||
|
||||
# Autologin
|
||||
services.displayManager.autoLogin.enable = true;
|
||||
services.displayManager.autoLogin.user = "lukas";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user