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
This commit is contained in:
parent
a168d2e0e7
commit
cab6411899
3 changed files with 30 additions and 27 deletions
30
flake.lock
generated
30
flake.lock
generated
|
|
@ -8,11 +8,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1754487366,
|
"lastModified": 1756770412,
|
||||||
"narHash": "sha256-pHYj8gUBapuUzKV/kN/tR3Zvqc7o6gdFB9XKXIp1SQ8=",
|
"narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "af66ad14b28a127c5c0f3bbb298218fc63528a18",
|
"rev": "4524271976b625a4a605beefd893f270620fd751",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -46,11 +46,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1756261190,
|
"lastModified": 1757256385,
|
||||||
"narHash": "sha256-eiy0klFK5EVJLNilutR7grsZN/7Itj9DyD75eyOf83k=",
|
"narHash": "sha256-WK7tOhWwr15mipcckhDg2no/eSpM1nIh4C9le8HgHhk=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "77f348da3176dc68b20a73dab94852a417daf361",
|
"rev": "f35703b412c67b48e97beb6e27a6ab96a084cd37",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -90,11 +90,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1756266583,
|
"lastModified": 1757068644,
|
||||||
"narHash": "sha256-cr748nSmpfvnhqSXPiCfUPxRz2FJnvf/RjJGvFfaCsM=",
|
"narHash": "sha256-NOrUtIhTkIIumj1E/Rsv1J37Yi3xGStISEo8tZm3KW4=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "8a6d5427d99ec71c64f0b93d45778c889005d9c2",
|
"rev": "8eb28adfa3dc4de28e792e3bf49fcf9007ca8ac9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -114,11 +114,11 @@
|
||||||
"systems": "systems_2"
|
"systems": "systems_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1756587208,
|
"lastModified": 1757343218,
|
||||||
"narHash": "sha256-pATHF/7rZeEYxnkvLZgrLbCjG4xBJDJ4zkjUiu+hhiU=",
|
"narHash": "sha256-GqyytaTh5JFJVraOQefSnxuQNVVSFFGwsJPT/M6St84=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "8bad4d407dace583ebf6a41d32cab479788898fe",
|
"rev": "d38eb947272dd4e6d138648b1b49360301db6859",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -137,11 +137,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1755555503,
|
"lastModified": 1756738487,
|
||||||
"narHash": "sha256-WiOO7GUOsJ4/DoMy2IC5InnqRDSo2U11la48vCCIjjY=",
|
"narHash": "sha256-8QX7Ab5CcICp7zktL47VQVS+QeaU4YDNAjzty7l7TQE=",
|
||||||
"owner": "NuschtOS",
|
"owner": "NuschtOS",
|
||||||
"repo": "search",
|
"repo": "search",
|
||||||
"rev": "6f3efef888b92e6520f10eae15b86ff537e1d2ea",
|
"rev": "5feeaeefb571e6ca2700888b944f436f7c05149b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -13,15 +13,15 @@
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
config = {
|
config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
# Workaround for https://github.com/nix-community/home-manager/issues/2942
|
|
||||||
nixpkgs.config.allowUnfreePredicate =
|
nixpkgs.config.allowUnfreePredicate =
|
||||||
pkg:
|
pkg:
|
||||||
builtins.elem (lib.getName pkg) [
|
builtins.elem (lib.getName pkg) [
|
||||||
"steam"
|
"code-cursor"
|
||||||
|
"ollama-cuda"
|
||||||
"steam-original"
|
"steam-original"
|
||||||
"steam-run"
|
"steam-run"
|
||||||
|
"steam"
|
||||||
"steamtinkerlaunch"
|
"steamtinkerlaunch"
|
||||||
"ollama-cuda"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -29,6 +29,7 @@
|
||||||
home = {
|
home = {
|
||||||
homeDirectory = "/home/thiago";
|
homeDirectory = "/home/thiago";
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
code-cursor
|
||||||
direnv
|
direnv
|
||||||
fira-code
|
fira-code
|
||||||
firefox
|
firefox
|
||||||
|
|
|
||||||
|
|
@ -41,16 +41,18 @@
|
||||||
LC_TIME = "pt_BR.UTF-8";
|
LC_TIME = "pt_BR.UTF-8";
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall = {
|
networking = {
|
||||||
allowedTCPPorts = [
|
|
||||||
11434
|
|
||||||
8888
|
|
||||||
8000
|
|
||||||
8080
|
|
||||||
];
|
|
||||||
allowPing = true;
|
|
||||||
enable = true;
|
|
||||||
hostName = "Nixstation";
|
hostName = "Nixstation";
|
||||||
|
firewall = {
|
||||||
|
allowedTCPPorts = [
|
||||||
|
11434
|
||||||
|
8000
|
||||||
|
8080
|
||||||
|
8888
|
||||||
|
];
|
||||||
|
allowPing = true;
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue