Files
nix-zaneyos/hosts/garand-laptop/config.nix
installer a51f8e78cf Refaktoryzacja struktury konfiguracji NixOS
- Usunięcie zbędnych parametrów wejściowych funkcji konfiguracyjnej
- Przeniesienie ustawień do oddzielnych plików w katalogu `config/`
- Uproszczenie struktury `config.nix` poprzez delegację ustawień do modułów
- Zachowanie wcześniejszych importów modułów sprzętowych
2025-02-11 21:38:12 +01:00

70 lines
2.1 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{...}: let
inherit (import ./variables.nix) keyboardLayout;
in {
imports = [
./hardware.nix
./users.nix
./config/boot.nix
./config/drivers.nix
./config/hardware.nix
./config/localization.nix
./config/networking.nix
./config/nixpkgs.nix
./config/programs.nix
./config/security.nix
./config/services.nix
./config/stylix.nix
./config/virtualization.nix
../../modules/amd-drivers.nix
../../modules/nvidia-drivers.nix
../../modules/nvidia-prime-drivers.nix
../../modules/intel-drivers.nix
../../modules/vm-guest-services.nix
../../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
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "23.11"; # Did you read the comment?
}