summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Santiago <[email protected]>2024-10-01 14:02:48 -0300
committerLeonardo Santiago <[email protected]>2024-10-01 14:02:48 -0300
commit16dda2a92d2f8e145f36bf609a5deb1b34feef32 (patch)
tree86df745562f186a911e20f316154e77ff055dafd
parent4ecc3286e30fe70d4a03f03929d699ff6f3c284a (diff)
add home-manager module
-rw-r--r--flake.lock24
-rw-r--r--flake.nix1
-rw-r--r--modules/default-user.nix1
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://[email protected]/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