From 16dda2a92d2f8e145f36bf609a5deb1b34feef32 Mon Sep 17 00:00:00 2001 From: Leonardo Santiago Date: Tue, 1 Oct 2024 14:02:48 -0300 Subject: add home-manager module --- flake.lock | 24 ++++-------------------- flake.nix | 1 + modules/default-user.nix | 1 - 3 files changed, 5 insertions(+), 21 deletions(-) diff --git a/flake.lock b/flake.lock index fcbf6bd..3ca2a5d 100644 --- a/flake.lock +++ b/flake.lock @@ -101,21 +101,6 @@ "type": "github" } }, - "flake-compat": { - "locked": { - "lastModified": 1696426674, - "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, "flake-utils": { "inputs": { "systems": "systems_2" @@ -170,16 +155,15 @@ }, "mixrank": { "inputs": { - "flake-compat": "flake-compat", "nixpkgs_latest": "nixpkgs_latest", "nixpkgs_old": "nixpkgs_old" }, "locked": { - "lastModified": 1726754920, - "narHash": "sha256-p7Rrk0BSYNBvkQ5fidkUvbM/TnA15g/7ldLa/r59NkI=", + "lastModified": 1727799934, + "narHash": "sha256-89CKOrqXU5tpWt9ek7uf8WMtyxxeqaYXXWy19pM0sHg=", "ref": "refs/heads/master", - "rev": "0b77b4f2cb1fd0ec3df9592b04c914d1a98b337b", - "revCount": 65861, + "rev": "29b065d73e54e884ee8233f82e77b8e14deb2b46", + "revCount": 66086, "type": "git", "url": "ssh://git@gitlab.com/mixrank/mixrank" }, diff --git a/flake.nix b/flake.nix index 9d5b801..fe0596a 100644 --- a/flake.nix +++ b/flake.nix @@ -48,6 +48,7 @@ specialArgs = { inherit inputs; }; modules = [ ./hosts/${host}.nix + inputs.home-manager.nixosModules.default ] ++ modules; }; get-basename = n: head (split "\\." n); diff --git a/modules/default-user.nix b/modules/default-user.nix index 9caa454..a1fb6fd 100644 --- a/modules/default-user.nix +++ b/modules/default-user.nix @@ -70,7 +70,6 @@ in { homeDirectory = "/home/leonardo"; file.".ssh/id_ed25519.pub".source = ../secrets/user-ssh-key.pub; file.".mozilla/firefox/leonardo/chrome/firefox-gnome-theme" = mkIf cfg.firefox.enable { source = inputs.firefox-gnome-theme; }; - packages = lib.optionals cfg.desktop-environment.enable (with pkgs; [ discord slack -- cgit v1.2.3