From 7935c0a965fe1cf28fdba0dfb242044396dbfa72 Mon Sep 17 00:00:00 2001 From: dim Date: Mon, 30 Dec 2024 22:12:30 +0700 Subject: [PATCH] fix flatpak missing variable on stylix --- flake.lock | 12 ++++++------ hosts/laptop/configuration.nix | 3 +++ nixos/home-manager.nix | 1 + 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 6e36fe8..ce42e15 100644 --- a/flake.lock +++ b/flake.lock @@ -1060,11 +1060,11 @@ }, "nixpkgs_6": { "locked": { - "lastModified": 1735291276, - "narHash": "sha256-NYVcA06+blsLG6wpAbSPTCyLvxD/92Hy4vlY9WxFI1M=", + "lastModified": 1735471104, + "narHash": "sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs=", "owner": "nixos", "repo": "nixpkgs", - "rev": "634fd46801442d760e09493a794c4f15db2d0cbb", + "rev": "88195a94f390381c6afcdaa933c2f6ff93959cb4", "type": "github" }, "original": { @@ -1304,11 +1304,11 @@ ] }, "locked": { - "lastModified": 1735445831, - "narHash": "sha256-XfC/uQO77JXC4DSOYUjRI7f46xF7Pz2Ipo4z0fYAzdo=", + "lastModified": 1735532154, + "narHash": "sha256-b+Yz6cOqcDmWYt8BIifTrY1n8q5zTJEHuEh/16nhS7k=", "owner": "Gerg-L", "repo": "spicetify-nix", - "rev": "ffff5a333a9dea5f3fba352239c5f445b0788083", + "rev": "52c3363e4a6896c263657491e8177ee8b63af3b4", "type": "github" }, "original": { diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index 4313a44..b16aafc 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -28,6 +28,9 @@ home-manager.users."${config.var.username}" = import ./home.nix; + home-manager.sharedModules = + [{ stylix.targets.gtk.flatpakSupport.enable = false; }]; + # users.users."${config.var.username}".extraGroups = [ "scanner" "lp" ]; # hardware.sane.enable = true; diff --git a/nixos/home-manager.nix b/nixos/home-manager.nix index 31ac611..0875089 100644 --- a/nixos/home-manager.nix +++ b/nixos/home-manager.nix @@ -2,6 +2,7 @@ home-manager = { useGlobalPkgs = true; useUserPackages = true; + backupFileExtension = "hm-backup"; extraSpecialArgs = { inherit inputs; }; }; }