From cab641189995d370196d13510e78f732c171803b Mon Sep 17 00:00:00 2001
From: Thiago Sposito
Date: Fri, 19 Sep 2025 14:45:29 -0300
Subject: [PATCH] feat: update flake inputs and home config
- bump flake-parts, home-manager, nixpkgs, nixvim, search
- add code-cursor to allowUnfree and home packages
- adjust firewall config under networking
---
flake.lock | 30 +++++++++++++++---------------
home-manager/home.nix | 7 ++++---
hosts/Nixstation/default.nix | 20 +++++++++++---------
3 files changed, 30 insertions(+), 27 deletions(-)
diff --git a/flake.lock b/flake.lock
index 8613b67..1058f9a 100644
--- a/flake.lock
+++ b/flake.lock
@@ -8,11 +8,11 @@
]
},
"locked": {
- "lastModified": 1754487366,
- "narHash": "sha256-pHYj8gUBapuUzKV/kN/tR3Zvqc7o6gdFB9XKXIp1SQ8=",
+ "lastModified": 1756770412,
+ "narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=",
"owner": "hercules-ci",
"repo": "flake-parts",
- "rev": "af66ad14b28a127c5c0f3bbb298218fc63528a18",
+ "rev": "4524271976b625a4a605beefd893f270620fd751",
"type": "github"
},
"original": {
@@ -46,11 +46,11 @@
]
},
"locked": {
- "lastModified": 1756261190,
- "narHash": "sha256-eiy0klFK5EVJLNilutR7grsZN/7Itj9DyD75eyOf83k=",
+ "lastModified": 1757256385,
+ "narHash": "sha256-WK7tOhWwr15mipcckhDg2no/eSpM1nIh4C9le8HgHhk=",
"owner": "nix-community",
"repo": "home-manager",
- "rev": "77f348da3176dc68b20a73dab94852a417daf361",
+ "rev": "f35703b412c67b48e97beb6e27a6ab96a084cd37",
"type": "github"
},
"original": {
@@ -90,11 +90,11 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1756266583,
- "narHash": "sha256-cr748nSmpfvnhqSXPiCfUPxRz2FJnvf/RjJGvFfaCsM=",
+ "lastModified": 1757068644,
+ "narHash": "sha256-NOrUtIhTkIIumj1E/Rsv1J37Yi3xGStISEo8tZm3KW4=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "8a6d5427d99ec71c64f0b93d45778c889005d9c2",
+ "rev": "8eb28adfa3dc4de28e792e3bf49fcf9007ca8ac9",
"type": "github"
},
"original": {
@@ -114,11 +114,11 @@
"systems": "systems_2"
},
"locked": {
- "lastModified": 1756587208,
- "narHash": "sha256-pATHF/7rZeEYxnkvLZgrLbCjG4xBJDJ4zkjUiu+hhiU=",
+ "lastModified": 1757343218,
+ "narHash": "sha256-GqyytaTh5JFJVraOQefSnxuQNVVSFFGwsJPT/M6St84=",
"owner": "nix-community",
"repo": "nixvim",
- "rev": "8bad4d407dace583ebf6a41d32cab479788898fe",
+ "rev": "d38eb947272dd4e6d138648b1b49360301db6859",
"type": "github"
},
"original": {
@@ -137,11 +137,11 @@
]
},
"locked": {
- "lastModified": 1755555503,
- "narHash": "sha256-WiOO7GUOsJ4/DoMy2IC5InnqRDSo2U11la48vCCIjjY=",
+ "lastModified": 1756738487,
+ "narHash": "sha256-8QX7Ab5CcICp7zktL47VQVS+QeaU4YDNAjzty7l7TQE=",
"owner": "NuschtOS",
"repo": "search",
- "rev": "6f3efef888b92e6520f10eae15b86ff537e1d2ea",
+ "rev": "5feeaeefb571e6ca2700888b944f436f7c05149b",
"type": "github"
},
"original": {
diff --git a/home-manager/home.nix b/home-manager/home.nix
index 2880ee8..25c615e 100644
--- a/home-manager/home.nix
+++ b/home-manager/home.nix
@@ -13,15 +13,15 @@
nixpkgs = {
config = {
allowUnfree = true;
- # Workaround for https://github.com/nix-community/home-manager/issues/2942
nixpkgs.config.allowUnfreePredicate =
pkg:
builtins.elem (lib.getName pkg) [
- "steam"
+ "code-cursor"
+ "ollama-cuda"
"steam-original"
"steam-run"
+ "steam"
"steamtinkerlaunch"
- "ollama-cuda"
];
};
};
@@ -29,6 +29,7 @@
home = {
homeDirectory = "/home/thiago";
packages = with pkgs; [
+ code-cursor
direnv
fira-code
firefox
diff --git a/hosts/Nixstation/default.nix b/hosts/Nixstation/default.nix
index 1c0ecec..ab95e7a 100644
--- a/hosts/Nixstation/default.nix
+++ b/hosts/Nixstation/default.nix
@@ -41,16 +41,18 @@
LC_TIME = "pt_BR.UTF-8";
};
- networking.firewall = {
- allowedTCPPorts = [
- 11434
- 8888
- 8000
- 8080
- ];
- allowPing = true;
- enable = true;
+ networking = {
hostName = "Nixstation";
+ firewall = {
+ allowedTCPPorts = [
+ 11434
+ 8000
+ 8080
+ 8888
+ ];
+ allowPing = true;
+ enable = true;
+ };
};
nix = {