From c4a99e93ed0f1f823701a9dc08c0bdd281763253 Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Sat, 25 May 2024 11:24:00 +0200 Subject: [PATCH] update home config --- modules/desktop/gnome-home.nix | 1 + modules/users/ronja.nix | 2 +- modules/users/vinzenz-home.nix | 28 +++++++++++++++++++++++++--- modules/users/vinzenz.nix | 5 +++-- 4 files changed, 30 insertions(+), 6 deletions(-) diff --git a/modules/desktop/gnome-home.nix b/modules/desktop/gnome-home.nix index fd5d4d1..c7481a7 100644 --- a/modules/desktop/gnome-home.nix +++ b/modules/desktop/gnome-home.nix @@ -27,6 +27,7 @@ in { appindicator gsconnect battery-health-charging + quick-settings-tweaker ]); dconf.settings = { diff --git a/modules/users/ronja.nix b/modules/users/ronja.nix index 8b53c53..61323ba 100644 --- a/modules/users/ronja.nix +++ b/modules/users/ronja.nix @@ -11,7 +11,7 @@ in { users.users.ronja = { isNormalUser = true; name = "ronja"; - description = "Ronja Spiegelberg"; + description = "Ronja"; home = "/home/ronja"; extraGroups = ["networkmanager" "wheel" "games" "podman"]; shell = pkgs.zsh; diff --git a/modules/users/vinzenz-home.nix b/modules/users/vinzenz-home.nix index 155708b..942f5e9 100644 --- a/modules/users/vinzenz-home.nix +++ b/modules/users/vinzenz-home.nix @@ -36,6 +36,7 @@ in zsh = { initExtra = '' eval "$(direnv hook zsh)"; + export PATH=$PATH:/home/vinzenz/.cargo/bin ''; shellAliases = { @@ -87,16 +88,17 @@ in bbenoist.nix ms-python.python kamadorueda.alejandra - #samuelcolvin.jinjahtml editorconfig.editorconfig - #KnisterPeter.vscode-github yzhang.markdown-all-in-one redhat.vscode-yaml pkief.material-icon-theme mhutchie.git-graph rust-lang.rust-analyzer - bungcip.better-toml + tamasfe.even-better-toml llvm-vs-code-extensions.vscode-clangd + mkhl.direnv + vadimcn.vscode-lldb + ms-dotnettools.csharp ]; userSettings = { "git.autofetch" = true; @@ -219,5 +221,25 @@ in }; }; }; + + home.file."policy.json" = { + target = ".config/containers/policy.json"; + text = '' + { + "default": [ + { + "type": "insecureAcceptAnything" + } + ], + "transports": + { + "docker-daemon": + { + "": [{"type":"insecureAcceptAnything"}] + } + } + } + ''; + }; } ] diff --git a/modules/users/vinzenz.nix b/modules/users/vinzenz.nix index f93dd78..08c3011 100644 --- a/modules/users/vinzenz.nix +++ b/modules/users/vinzenz.nix @@ -10,10 +10,11 @@ in { users.users.vinzenz = { isNormalUser = true; name = "vinzenz"; - description = "Vinzenz Schroeter"; + description = "Vinzenz"; home = "/home/vinzenz"; - extraGroups = ["networkmanager" "wheel" "games" "dialout" "podman"]; + extraGroups = ["networkmanager" "wheel" "games" "dialout" "podman" "nginx"]; shell = pkgs.zsh; + autoSubUidGidRange = true; }; }; }