added docker
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
{ config, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./brave.nix
|
./brave.nix
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
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 = {
|
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";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user