summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Santiago <[email protected]>2024-05-17 15:07:44 -0300
committerLeonardo Santiago <[email protected]>2024-05-17 15:07:44 -0300
commit1f63b8ee182fb521734aae305cbead04fa4bff65 (patch)
tree43929f0b661d509f6cccc7f2a98167968e15ddce
parent752244b5798650de878f8dcd1d52c1c813dc1a6e (diff)
update flake, fix direnv
-rw-r--r--flake.lock40
-rw-r--r--flake.nix5
-rw-r--r--users/leonardo.nix9
3 files changed, 32 insertions, 22 deletions
diff --git a/flake.lock b/flake.lock
index ec92652..ff93474 100644
--- a/flake.lock
+++ b/flake.lock
@@ -139,9 +139,7 @@
},
"home-manager": {
"inputs": {
- "nixpkgs": [
- "nixpkgs"
- ]
+ "nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1715486357,
@@ -164,11 +162,11 @@
"nixpkgs_old": "nixpkgs_old"
},
"locked": {
- "lastModified": 1715264320,
- "narHash": "sha256-1728gtHhlPQqGiyMtBaO7GYRKwg2O1SafDYbXzNRQXQ=",
+ "lastModified": 1715884511,
+ "narHash": "sha256-50vXBrYqJGsSSrTH6jY8vmcZo2ImRJ2vrWG6690fHwc=",
"ref": "2024-05-06-hosts-in-nix",
- "rev": "39cec387d9b3e665e384b23b38bb0fe714d5fcdb",
- "revCount": 62072,
+ "rev": "30a55b196b9b22af7dc72dc7479cbda68513acc9",
+ "revCount": 62180,
"type": "git",
"url": "ssh://[email protected]/mixrank/mixrank"
},
@@ -180,15 +178,15 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1715447595,
- "narHash": "sha256-VsVAUQOj/cS1LCOmMjAGeRksXIAdPnFIjCQ0XLkCsT0=",
- "owner": "nixos",
+ "lastModified": 1715787315,
+ "narHash": "sha256-cYApT0NXJfqBkKcci7D9Kr4CBYZKOQKDYA23q8XNuWg=",
+ "owner": "NixOS",
"repo": "nixpkgs",
- "rev": "062ca2a9370a27a35c524dc82d540e6e9824b652",
+ "rev": "33d1e753c82ffc557b4a585c77de43d4c922ebb5",
"type": "github"
},
"original": {
- "owner": "nixos",
+ "owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
@@ -210,6 +208,22 @@
"type": "github"
}
},
+ "nixpkgs_2": {
+ "locked": {
+ "lastModified": 1715447595,
+ "narHash": "sha256-VsVAUQOj/cS1LCOmMjAGeRksXIAdPnFIjCQ0XLkCsT0=",
+ "owner": "nixos",
+ "repo": "nixpkgs",
+ "rev": "062ca2a9370a27a35c524dc82d540e6e9824b652",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nixos",
+ "ref": "nixos-unstable",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
"nixpkgs_latest": {
"locked": {
"lastModified": 1677018132,
@@ -251,7 +265,7 @@
"from-elisp": "from-elisp",
"home-manager": "home-manager",
"mixrank": "mixrank",
- "nixpkgs": "nixpkgs"
+ "nixpkgs": "nixpkgs_2"
}
},
"systems": {
diff --git a/flake.nix b/flake.nix
index d90f501..171d5b6 100644
--- a/flake.nix
+++ b/flake.nix
@@ -14,10 +14,7 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
- home-manager = {
- url = "github:nix-community/home-manager";
- inputs.nixpkgs.follows = "nixpkgs";
- };
+ home-manager.url = "github:nix-community/home-manager";
agenix = {
url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs";
diff --git a/users/leonardo.nix b/users/leonardo.nix
index e58a72a..29811af 100644
--- a/users/leonardo.nix
+++ b/users/leonardo.nix
@@ -81,6 +81,10 @@
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
};
+ programs.direnv = {
+ enable = true;
+ nix-direnv.enable = true;
+ };
programs.ssh.startAgent = true;
services.pipewire = {
enable = true;
@@ -206,11 +210,6 @@
enable = true;
enableBashIntegration = true;
};
- direnv = {
- enable = true;
- enableBashIntegration = true;
- nix-direnv.enable = true;
- };
git = {
enable = true;
diff-so-fancy.enable = true;