Zaktualizuj zależności i uporządkuj konfigurację NixOS

- Zaktualizowano zależności w `flake.lock`, w tym `home-manager` i `stylix`, oraz dodano nową zależność `tinted-schemes`.
- Usunięto zbędne zmienne oraz przeniesiono `mutableUsers` do `security.nix` dla lepszej organizacji konfiguracji.
- Przeniesiono zakomentowane wpisy dotyczące montowania `Garand-Library` do `hardware.nix`.
- Dodano zakomentowaną konfigurację zapory sieciowej do `networking.nix` oraz przeniesiono `console.keyMap` do `services.nix`.
- Uporządkowano konfigurację, usuwając zbędne linie i przenosząc odpowiednie sekcje do bardziej logicznych miejsc.
This commit is contained in:
installer
2025-02-11 23:36:38 +01:00
parent 46f52843ca
commit 80440f91e7
6 changed files with 57 additions and 43 deletions

View File

@@ -1,6 +1,4 @@
{...}: let
inherit (import ./variables.nix) keyboardLayout;
in {
{...}: {
imports = [
./hardware.nix
./users.nix
@@ -25,40 +23,6 @@ in {
../../modules/local-hardware-clock.nix
];
users = {
mutableUsers = true;
};
# fileSystems."/mnt/Garand-Library" = {
# device = "//192.168.1.156/Garand-Library";
# fsType = "cifs";
# options = [
# "rw" # Odczyt i zapis
# "uid=1000" # UID użytkownika montującego (np. 1000 to często UID pierwszego użytkownika)
# "gid=100" # GID grupy użytkownika montującego
# "file_mode=0775" # Uprawnienia dla plików
# "dir_mode=0775" # Uprawnienia dla katalogów
# "credentials=/etc/smb-credentials"
# ];
# };
# services.openvpn.servers = {
# RO-P2P = {
# config = ''
# config /home/garand_plg/Documents/RO-ovpn-tcp.ovpn
# '';
# updateResolvConf = true;
# };
# };
console.keyMap = "${keyboardLayout}";
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave