From 3da420f424b8dbf34ace420b926cdeaf120e02e3 Mon Sep 17 00:00:00 2001 From: Laurent Gueret Date: Wed, 28 Jan 2026 20:35:28 +0100 Subject: [PATCH] Change of substituters and little group of fixs --- flake.nix | 9 +++++++++ modules/overlays.nix | 1 - modules/system/options/apps/docker.nix | 1 + modules/system/partials/users.nix | 5 ++++- modules/users/partials/gnome.nix | 23 +++++++++++++++++++++++ 5 files changed, 37 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 6c6e2b4..9fcfb45 100755 --- a/flake.nix +++ b/flake.nix @@ -45,4 +45,13 @@ }; } ); + + nixConfig = { + extra-substituters = [ + "https://cache.flox.dev" + ]; + extra-trusted-public-keys = [ + "flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs=" + ]; + }; } diff --git a/modules/overlays.nix b/modules/overlays.nix index 16c2546..e3ccc8b 100644 --- a/modules/overlays.nix +++ b/modules/overlays.nix @@ -4,7 +4,6 @@ ... }: { - nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (nixpkgs.lib.getName pkg) [ diff --git a/modules/system/options/apps/docker.nix b/modules/system/options/apps/docker.nix index d6f79fc..209773b 100644 --- a/modules/system/options/apps/docker.nix +++ b/modules/system/options/apps/docker.nix @@ -11,6 +11,7 @@ in virtualisation.docker = { enable = true; + daemon.settings.features.cdi = true; }; }; diff --git a/modules/system/partials/users.nix b/modules/system/partials/users.nix index ce3c5bf..d652bf6 100644 --- a/modules/system/partials/users.nix +++ b/modules/system/partials/users.nix @@ -4,7 +4,10 @@ users.users = { alistreaza = { isNormalUser = true; - extraGroups = [ "wheel" ]; + extraGroups = [ + "wheel" + "docker" + ]; }; }; } diff --git a/modules/users/partials/gnome.nix b/modules/users/partials/gnome.nix index ad0b62b..3a8565a 100644 --- a/modules/users/partials/gnome.nix +++ b/modules/users/partials/gnome.nix @@ -55,6 +55,7 @@ with lib.hm.gvariant; "org/gnome/shell/extensions/dash-to-panel" = { prefs-opened = true; + isolate-monitors = true; isolate-workspaces = true; @@ -70,8 +71,11 @@ with lib.hm.gvariant; dot-position = "BOTTOM"; dot-style-focused = "METRO"; dot-style-unfocused = "DOTS"; + focus-highlight = true; focus-highlight-dominant = true; + + hide-overview-on-startup = true; }; "org/gnome/shell/extensions/paperwm" = { @@ -84,6 +88,25 @@ with lib.hm.gvariant; position-in-panel = 1; }; + "org/gnome/shell/extensions/paperwm/workspaces" = { + list = [ + "personal" + "university" + ]; + }; + + "org/gnome/shell/extensions/paperwm/workspaces/personal" = { + name = "Personel"; + index = 0; + background = "file://" + ./wallpapers/mocha.svg; + }; + + "org/gnome/shell/extensions/paperwm/workspaces/university" = { + name = "Université"; + index = 1; + background = "file://" + ./wallpapers/frappe.svg; + }; + }; }; }