From 68d17e6b48dda3c45bdf5c83e341e51f7ec3a83e Mon Sep 17 00:00:00 2001 From: azahi Date: Tue, 21 Jan 2025 15:29:57 +0300 Subject: 2025-01-21 --- modules/common/shell/default.nix | 4 ++-- modules/profiles/dev/default.nix | 10 +++++++++- modules/profiles/headful.nix | 8 ++++++++ 3 files changed, 19 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/common/shell/default.nix b/modules/common/shell/default.nix index cacb411..6c0b78f 100644 --- a/modules/common/shell/default.nix +++ b/modules/common/shell/default.nix @@ -80,7 +80,7 @@ in let pkg = if this.isHeadful then - (pkgs.coreutils.overrideAttrs ( + pkgs.coreutils.overrideAttrs ( _: super: { patches = (super.patches or [ ]) ++ [ (pkgs.fetchpatch { @@ -89,7 +89,7 @@ in }) ]; } - )) + ) else pkgs.coreutils; in diff --git a/modules/profiles/dev/default.nix b/modules/profiles/dev/default.nix index af151a1..38a2117 100644 --- a/modules/profiles/dev/default.nix +++ b/modules/profiles/dev/default.nix @@ -16,6 +16,10 @@ in config = mkIf cfg.enable { nixfiles.modules = { + common.nix.allowedUnfreePackages = [ + "terraform" # source-available + ]; + bat.enable = true; curl.enable = true; direnv.enable = true; @@ -59,10 +63,12 @@ in }; packages = with pkgs; [ + (google-cloud-sdk.withExtraComponents [ + google-cloud-sdk.components.gke-gcloud-auth-plugin + ]) age dbeaver-bin distrobox - google-cloud-sdk htmlq httpie hydra-check @@ -71,9 +77,11 @@ in logcli nix-update nixpkgs-review + opentofu scaleway-cli sops sqlitebrowser + terraform toolbox vultr-cli yq diff --git a/modules/profiles/headful.nix b/modules/profiles/headful.nix index d7f1876..186d97d 100644 --- a/modules/profiles/headful.nix +++ b/modules/profiles/headful.nix @@ -126,8 +126,16 @@ in services = { fwupd.enable = true; + libinput.enable = true; + upower.enable = true; + + languagetool = { + enable = true; + port = 8081; + allowOrigin = "*"; + }; }; time.timeZone = "Europe/Moscow"; -- cgit 1.4.1