From 238e64437c5cc6d4d7cbe9a7b4fa7f71e858b932 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Thu, 26 Mar 2026 18:23:59 -0500 Subject: [PATCH] desktop imports --- flake.lock | 76 +++++++++-------------------- flake.nix | 5 +- modules/hosts/john-p14s/default.nix | 8 ++- 3 files changed, 33 insertions(+), 56 deletions(-) diff --git a/flake.lock b/flake.lock index 8fd4b40..be1eca9 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "flake-file": { "locked": { - "lastModified": 1773554778, - "narHash": "sha256-keH0VNsci9e0Uwt3Msp/N+pltaP8Lb6lt09Q3WvDPw4=", + "lastModified": 1773637821, + "narHash": "sha256-Cp1x/5/97iNjXOI5hLCA51BwR6hc1dWJiZp4VPogkTw=", "owner": "vic", "repo": "flake-file", - "rev": "f4780a86bd4c756475d839b286f8a40aabdbc802", + "rev": "bb9fbe00ba6a1945fbdd6973c2585ab770f404b0", "type": "github" }, "original": { @@ -58,11 +58,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1773608492, - "narHash": "sha256-QZteyExJYSQzgxqdsesDPbQgjctGG7iKV/6ooyQPITk=", + "lastModified": 1774561634, + "narHash": "sha256-3q1xsREjqdVIIwQQDZQ9y0YdBzP8gAxdwKoKnZSzJtU=", "owner": "nix-community", "repo": "home-manager", - "rev": "9a40ec3b78fc688d0908485887d355caa5666d18", + "rev": "7c046c63ac3b467c1d589b99d531da5b6520825a", "type": "github" }, "original": { @@ -73,11 +73,11 @@ }, "import-tree": { "locked": { - "lastModified": 1773554199, - "narHash": "sha256-6apV5N1F5tTD8JY9AUGnkWmy56HqDPn4MNFRsq4Rg+s=", + "lastModified": 1773693634, + "narHash": "sha256-BtZ2dtkBdSUnFPPFc+n0kcMbgaTxzFNPv2iaO326Ffg=", "owner": "vic", "repo": "import-tree", - "rev": "c6ebc59c85ee54cfb68163d06d1a3149ce0fe431", + "rev": "c41e7d58045f9057880b0d85e1152d6a4430dbf1", "type": "github" }, "original": { @@ -125,11 +125,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1773389992, - "narHash": "sha256-wvfdLLWJ2I9oEpDd9PfMA8osfIZicoQ5MT1jIwNs9Tk=", + "lastModified": 1774106199, + "narHash": "sha256-US5Tda2sKmjrg2lNHQL3jRQ6p96cgfWh3J1QBliQ8Ws=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c06b4ae3d6599a672a6210b7021d699c351eebda", + "rev": "6c9a78c09ff4d6c21d0319114873508a6ec01655", "type": "github" }, "original": { @@ -141,33 +141,17 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1773507054, - "narHash": "sha256-yzDBkI1CpeZrAt4l1nGvTOs3OFtXCS7a7Gi5Y1h878w=", - "rev": "e80236013dc8b77aa49ca90e7a12d86f5d8d64c9", + "lastModified": 1774273680, + "narHash": "sha256-WLxi1vfcykjq9Yb2umqBJs6lVM6MpV2tXfcrAjroxUk=", + "rev": "fdc7b8f7b30fdbedec91b71ed82f36e1637483ed", "type": "tarball", - "url": "https://releases.nixos.org/nixpkgs/nixpkgs-26.05pre963414.e80236013dc8/nixexprs.tar.xz" + "url": "https://releases.nixos.org/nixpkgs/nixpkgs-26.05pre968305.fdc7b8f7b30f/nixexprs.tar.xz" }, "original": { "type": "tarball", "url": "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.xz" } }, - "nixpkgs_3": { - "locked": { - "lastModified": 1773840656, - "narHash": "sha256-9tpvMGFteZnd3gRQZFlRCohVpqooygFuy9yjuyRL2C0=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "9cf7092bdd603554bd8b63c216e8943cf9b12512", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, "root": { "inputs": { "flake-file": "flake-file", @@ -181,7 +165,9 @@ "nixpkgs" ], "sops-nix": "sops-nix", - "wrapper-modules": "wrapper-modules" + "wrapper-modules": [ + "nixpkgs" + ] } }, "sops-nix": { @@ -191,11 +177,11 @@ ] }, "locked": { - "lastModified": 1773550941, - "narHash": "sha256-wa/++bL2QeMUreNFBZEWluQfOYB0MnQIeGNMuaX9sfs=", + "lastModified": 1774303811, + "narHash": "sha256-fhG4JAcLgjKwt+XHbjs8brpWnyKUfU4LikLm3s0Q/ic=", "owner": "Mic92", "repo": "sops-nix", - "rev": "c469b6885f0dcd5c7c56bd935a0f08dbcd9e79e1", + "rev": "614e256310e0a4f8a9ccae3fa80c11844fba7042", "type": "github" }, "original": { @@ -218,24 +204,6 @@ "repo": "default", "type": "github" } - }, - "wrapper-modules": { - "inputs": { - "nixpkgs": "nixpkgs_3" - }, - "locked": { - "lastModified": 1774400689, - "narHash": "sha256-hHABVYL0rxhVIzc7hZEpvE0eiCKPnevte73Tn6FRolo=", - "owner": "BirdeeHub", - "repo": "nix-wrapper-modules", - "rev": "54645978682ff99594a1d1666dde6fac6a8134f2", - "type": "github" - }, - "original": { - "owner": "BirdeeHub", - "repo": "nix-wrapper-modules", - "type": "github" - } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 3dc09aa..943f2e0 100644 --- a/flake.nix +++ b/flake.nix @@ -25,6 +25,9 @@ url = "github:Mic92/sops-nix"; inputs.nixpkgs.follows = "nixpkgs"; }; - wrapper-modules.url = "github:BirdeeHub/nix-wrapper-modules"; + wrapper-modules = { + url = "github:BirdeeHub/nix-wrapper-modules"; + follows = "nixpkgs"; + }; }; } diff --git a/modules/hosts/john-p14s/default.nix b/modules/hosts/john-p14s/default.nix index 5e95eee..1df2809 100644 --- a/modules/hosts/john-p14s/default.nix +++ b/modules/hosts/john-p14s/default.nix @@ -10,11 +10,17 @@ modules = [ "${inputs.nixos-hardware}/lenovo/thinkpad/p14s" "${inputs.nixos-hardware}/lenovo/thinkpad/p14s/amd/gen4" + { + home-manager.useGlobalPkgs = true; + home-manager.users.john.imports = with inputs.self.modules.homeManager; [ + desktop + ]; + } ] ++ (with self.modules.nixos; [ p14sConfiguration sudo - gnome john + gnome # greetd # niri ]);