{ config, pkgs, ... }: { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix # system stuff ./system/display.nix ./system/sound.nix ./system/essentials.nix ./system/shell.nix ./system/remap.nix ./system/ssd.nix # rice and other usefull apps ./desktop.nix # developing tools ./dev.nix # music ./apps/music.nix # gayming ./gaming.nix # communcations apps ./apps/communication.nix # password manager ./apps/keepassxc.nix # productivity apps ./apps/prod.nix # enabling sandboxing and other security measures ./system/security.nix # file sync ./apps/syncthing.nix # libreoffice ./apps/office.nix # node xporter ./configs/prometheus.nix ]; # adding nur nixpkgs.config.packageOverrides = pkgs: { nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") { inherit pkgs; }; }; # Permitting insecure package for walpepper nixpkgs.config.permittedInsecurePackages = [ "libav-12.3" ]; # adding flake support nix.settings.experimental-features = [ "nix-command" "flakes" ]; home-manager.users.grape = { ... }: { home.stateVersion = "23.11"; }; # Bootloader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; boot.initrd.luks.devices."luks-f7e86dde-55a5-4306-a7c2-cf2d93c9ee0b".device = "/dev/disk/by-uuid/f7e86dde-55a5-4306-a7c2-cf2d93c9ee0b"; networking.hostName = "strix"; # Enable networking networking.networkmanager.enable = true; nix.buildMachines = [ { protocol = "ssh"; system = "x86_64-linux"; supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ]; sshUser = "root"; sshKey = "/home/grape/.ssh/id_rsa"; hostName = "pink"; } ]; # Set your time zone. time.timeZone = "Europe/Budapest"; # Select internationalisation properties. i18n.defaultLocale = "en_US.UTF-8"; i18n.extraLocaleSettings = { LC_ADDRESS = "hu_HU.UTF-8"; LC_IDENTIFICATION = "hu_HU.UTF-8"; LC_MEASUREMENT = "hu_HU.UTF-8"; LC_MONETARY = "hu_HU.UTF-8"; LC_NAME = "hu_HU.UTF-8"; LC_NUMERIC = "hu_HU.UTF-8"; LC_PAPER = "hu_HU.UTF-8"; LC_TELEPHONE = "hu_HU.UTF-8"; LC_TIME = "hu_HU.UTF-8"; }; users.users.grape = { isNormalUser = true; description = "grape"; extraGroups = [ "networkmanager" "wheel" "audio" "docker" ]; }; nixpkgs.config.allowUnfree = true; system.stateVersion = "23.11"; }