Merge branch 'main' of github.com:FabricSoul/nixos-configs

This commit is contained in:
FabricSoul 2025-06-08 00:12:07 -04:00
commit b306f9c511
4 changed files with 41 additions and 15 deletions

30
flake.lock generated
View file

@ -151,11 +151,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1748830238, "lastModified": 1749062139,
"narHash": "sha256-EB+LzYHK0D5aqxZiYoPeoZoOzSAs8eqBDxm3R+6wMKU=", "narHash": "sha256-gGGLujmeWU+ZjFzfMvFMI0hp9xONsSbm88187wJr82Q=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "c7fdb7e90bff1a51b79c1eed458fb39e6649a82a", "rev": "86b95fc1ed2b9b04a451a08ccf13d78fb421859c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -172,11 +172,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1748856610, "lastModified": 1749022112,
"narHash": "sha256-uh7dQn+CgGtZXGoF35jEARpZssd6C2eFtSpMepBtLig=", "narHash": "sha256-NNGvih5zDjic+UVxm+1YYQMgRok6PcdNE0/6vzs+XrM=",
"owner": "jas-singhfsu", "owner": "jas-singhfsu",
"repo": "hyprpanel", "repo": "hyprpanel",
"rev": "8be178f5a90ec87665ee048e214d2da4571535c5", "rev": "20532ee760fdf492afcf987ae091497a37878197",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -231,11 +231,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1748792178, "lastModified": 1748856973,
"narHash": "sha256-BHmgfHlCJVNisJShVaEmfDIr/Ip58i/4oFGlD1iK6lk=", "narHash": "sha256-RlTsJUvvr8ErjPBsiwrGbbHYW8XbB/oek0Gi78XdWKg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5929de975bcf4c7c8d8b5ca65c8cd9ef9e44523e", "rev": "e4b09e47ace7d87de083786b404bf232eb6c89d8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -247,11 +247,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1748792178, "lastModified": 1748856973,
"narHash": "sha256-BHmgfHlCJVNisJShVaEmfDIr/Ip58i/4oFGlD1iK6lk=", "narHash": "sha256-RlTsJUvvr8ErjPBsiwrGbbHYW8XbB/oek0Gi78XdWKg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5929de975bcf4c7c8d8b5ca65c8cd9ef9e44523e", "rev": "e4b09e47ace7d87de083786b404bf232eb6c89d8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -287,11 +287,11 @@
"systems": "systems_2" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1748884506, "lastModified": 1749089973,
"narHash": "sha256-P/ldKE0SCGKH6pEVJoW2MJJo2dZCZe10d/h1ree66c0=", "narHash": "sha256-v0bDyUPOJl9ZiZwCu+u03n+XF3OxOOlKib69dzOBOTg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "d063d0dd5e0b82d8be4dd4bc00b887ac1f92e4b2", "rev": "60f1c852377e617668bb2669056969bf896e8300",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -423,6 +423,11 @@
extraPlugins = [ extraPlugins = [
]; ];
extraConfigLua = '' extraConfigLua = ''
vim.filetype.add({
extension = {
ldtk = "json",
},
})
vim.lsp.inlay_hint.enable(true) vim.lsp.inlay_hint.enable(true)
vim.filetype.add({ vim.filetype.add({
extension = { extension = {

View file

@ -26,6 +26,7 @@
greetd.tuigreet greetd.tuigreet
zsh zsh
home-manager home-manager
findutils
]; ];
# Enable the OpenSSH daemon # Enable the OpenSSH daemon

View file

@ -19,6 +19,7 @@
# Bootloader # Bootloader
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.supportedFilesystems = ["nfs"];
# Networking # Networking
networking = { networking = {
@ -35,6 +36,25 @@
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
services.rpcbind.enable = true;
fileSystems."/home/fabric/nas" = {
device = "tatara:/nas";
fsType = "nfs";
options = [
"x-systemd.automount"
"noauto"
"x-systemd.idle-timeout=60"
"x-systemd.device-timeout=5"
"x-systemd.mount-timeout=5"
"nfsvers=4" # Use NFSv4
"hard" # Hard mount (recommended)
"intr" # Allow interruption
"rsize=8192" # Read size
"wsize=8192" # Write size
];
};
# Enable Ollama with CUDA # Enable Ollama with CUDA
services.ollama = { services.ollama = {
enable = true; enable = true;