From bfd4bae4fbe0a2d41ac1a3005569b365616da3be Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Wed, 20 Mar 2024 07:44:38 +0100 Subject: [PATCH] Updated configurations --- hosts/desktop/default.nix | 1 + hosts/desktop/home.nix | 2 +- hosts/laptop/home.nix | 2 +- modules/home/programs/common.nix | 3 +++ modules/system/utils/docker.nix | 7 +++++++ 5 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 modules/system/utils/docker.nix diff --git a/hosts/desktop/default.nix b/hosts/desktop/default.nix index f6ee956..a26aef1 100644 --- a/hosts/desktop/default.nix +++ b/hosts/desktop/default.nix @@ -11,6 +11,7 @@ ../../modules/system/programs/thunar.nix ../../modules/system/programs/steam.nix ../../modules/system/utils/common.nix + ../../modules/system/utils/docker.nix ../../modules/system/utils/firewall.nix #../../modules/system/utils/fprint.nix ../../modules/system/utils/garbage-collection.nix diff --git a/hosts/desktop/home.nix b/hosts/desktop/home.nix index 91d05a2..909ce26 100644 --- a/hosts/desktop/home.nix +++ b/hosts/desktop/home.nix @@ -25,7 +25,7 @@ kdenlive gthumb unstable.arduino-ide - prismlauncher + unstable.prismlauncher ]; home.sessionVariables = { diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index b05135e..9b8aaf1 100644 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -26,7 +26,7 @@ gthumb unstable.arduino-ide moonlight-qt - prismlauncher + unstable.prismlauncher ]; home.stateVersion = "23.11"; diff --git a/modules/home/programs/common.nix b/modules/home/programs/common.nix index 8235d00..f69871f 100644 --- a/modules/home/programs/common.nix +++ b/modules/home/programs/common.nix @@ -12,5 +12,8 @@ bitwarden pavucontrol unstable.youtube-music + + # CLI tools + cloc ]; } diff --git a/modules/system/utils/docker.nix b/modules/system/utils/docker.nix new file mode 100644 index 0000000..b3f01b0 --- /dev/null +++ b/modules/system/utils/docker.nix @@ -0,0 +1,7 @@ +{ ... }: + +{ + virtualisation.docker.enable = true; + + users.users.xeovalyte.extraGroups = [ "docker" ]; +}