# Edit this configuration file to define what should be installed on # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). { pkgs, inputs, ... }: let username = "buliway"; in { imports = [ /etc/nixos/hardware-configuration.nix inputs.home-manager.nixosModules.default ../modules/nixos/bundle.nix ./packages.nix # ./filesystems.nix ]; boot.loader = { systemd-boot.enable = true; efi.canTouchEfiVariables = true; # kernelParams = [ # https://nixos.wiki/wiki/AMD_GPU#Dual_Monitors # "video=DP-3:1920x1080@165" # "video=HDMI-A-1:1920x1080@75" # ]; }; # Define a user account. Don't forget to set a password with ‘passwd’. users = { defaultUserShell = pkgs.zsh; users.${username} = { isNormalUser = true; description = username; extraGroups = [ "networkmanager" "wheel" "input" "libvirtd" "storage" "docker" ]; # packages = with pkgs; []; }; }; home-manager = { # also pass inputs to home-manager modules extraSpecialArgs = { inherit inputs; }; users.${username} = import ./home.nix; }; security.polkit = { # Всплывающее меню для ввода пароля enable = true; package = pkgs.polkit_gnome; # Legacy polkit authentication agent for GNOME # package = pkgs.lxde.lxsession; # Lightweight X11 gtk2 session manager }; xdg.portal = { enable = true; extraPortals = with pkgs; [ xdg-desktop-portal-gtk # Чтоб загружать файлы и стримить в дискорде ]; }; nix.settings.experimental-features = ["nix-command" "flakes"]; system.stateVersion = "24.05"; # Don't change it }