added docker

This commit is contained in:
2025-07-01 23:29:55 +02:00
parent 02739bcbc2
commit 16a0d6d6be
4 changed files with 8 additions and 6 deletions

View File

@@ -1,5 +1,3 @@
{ config, pkgs, ... }:
{ {
imports = [ imports = [
./brave.nix ./brave.nix

View File

@@ -8,6 +8,7 @@
../../modules/system/locale.nix ../../modules/system/locale.nix
../../modules/system/audio.nix ../../modules/system/audio.nix
../../modules/system/printing.nix ../../modules/system/printing.nix
../../modules/system/docker.nix
]; ];
networking.hostName = "segfault-machine"; networking.hostName = "segfault-machine";

View File

@@ -0,0 +1,6 @@
{
virtualisation.docker = {
enable = true;
rootless = true;
};
}

View File

@@ -1,14 +1,11 @@
{ config, pkgs, ... }:
{ {
users.users.lukas = { users.users.lukas = {
isNormalUser = true; isNormalUser = true;
description = "lukas"; description = "lukas";
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [ "networkmanager" "wheel" "docker"];
}; };
# Autologin # Autologin
services.displayManager.autoLogin.enable = true; services.displayManager.autoLogin.enable = true;
services.displayManager.autoLogin.user = "lukas"; services.displayManager.autoLogin.user = "lukas";
} }