From d5cc9670dfca394b8f3367921eff0f2806841ff3 Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Sat, 9 Mar 2024 22:16:57 +0530 Subject: update --- flake.lock | 12 ++++++------ machines/x/home.nix | 2 +- modules/core/global.nix | 17 +++++++++++++---- packages/dwl.nix | 2 +- 4 files changed, 21 insertions(+), 12 deletions(-) diff --git a/flake.lock b/flake.lock index db6e3a8..63a2590 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1708988456, - "narHash": "sha256-RCz7Xe64tN2zgWk+MVHkzg224znwqknJ1RnB7rVqUWw=", + "lastModified": 1709988192, + "narHash": "sha256-qxwIkl85P0I1/EyTT+NJwzbXdOv86vgZxcv4UKicjK8=", "owner": "nix-community", "repo": "home-manager", - "rev": "1d085ea4444d26aa52297758b333b449b2aa6fca", + "rev": "b0b0c3d94345050a7f86d1ebc6c56eea4389d030", "type": "github" }, "original": { @@ -22,11 +22,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1708984720, - "narHash": "sha256-gJctErLbXx4QZBBbGp78PxtOOzsDaQ+yw1ylNQBuSUY=", + "lastModified": 1709703039, + "narHash": "sha256-6hqgQ8OK6gsMu1VtcGKBxKQInRLHtzulDo9Z5jxHEFY=", "owner": "nixos", "repo": "nixpkgs", - "rev": "13aff9b34cc32e59d35c62ac9356e4a41198a538", + "rev": "9df3e30ce24fd28c7b3e2de0d986769db5d6225d", "type": "github" }, "original": { diff --git a/machines/x/home.nix b/machines/x/home.nix index 9d0a4ab..fced07e 100644 --- a/machines/x/home.nix +++ b/machines/x/home.nix @@ -24,7 +24,7 @@ in { cinnamon.nemo mate.eom - spotify + # spotify firefox google-chrome diff --git a/modules/core/global.nix b/modules/core/global.nix index fffe8ab..5ab647d 100644 --- a/modules/core/global.nix +++ b/modules/core/global.nix @@ -1,11 +1,20 @@ { pkgs, ... }: -{ - nix.settings = { - experimental-features = [ "nix-command" "flakes" ]; - auto-optimise-store = true; +let + nix_path = "/tmp/nix_path"; +in { + nix = { + settings = { + experimental-features = [ "nix-command" "flakes" ]; + auto-optimise-store = true; + }; + nixPath = [ "nixpkgs=${nix_path}" ]; }; + systemd.tmpfiles.rules = [ + "L+ ${nix_path} - - - - ${pkgs.path}" + ]; + time.timeZone = "Asia/Kolkata"; networking.networkmanager.enable = true; diff --git a/packages/dwl.nix b/packages/dwl.nix index a694621..d38156b 100644 --- a/packages/dwl.nix +++ b/packages/dwl.nix @@ -27,7 +27,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "compromyse"; repo = "dwl"; rev = "master"; - hash = "sha256-gE6J4hA44nLVjjN2i9svtHj8CCqU5y/WzqJd8AovmDc="; + hash = "sha256-/iNoEbueymoLBEtTZBSmcrH0fy2YxHACpXvqCgK2bxA="; }; nativeBuildInputs = [ -- cgit v1.2.3