diff --git a/.configuration.nix.swp b/.configuration.nix.swp new file mode 100644 index 0000000..20d2161 Binary files /dev/null and b/.configuration.nix.swp differ diff --git a/configuration.nix b/configuration.nix index 95326ad..f4c16ac 100644 --- a/configuration.nix +++ b/configuration.nix @@ -2,14 +2,19 @@ # your system. Help is available in the configuration.nix(5) man page, on # https://search.nixos.org/options and in the NixOS manual (`nixos-help`). -{ config, lib, pkgs, ... }: +{ + config, + lib, + pkgs, + ... +}: { - imports = - [ # Include the results of the hardware scan. - ./hardware-configuration.nix - # "${builtins.fetchGit { url = "https://github.com/NixOS/nixos-hardware.git"; }}/apple/t2" - ]; + imports = [ + # Include the results of the hardware scan. + ./hardware-configuration.nix + # "${builtins.fetchGit { url = "https://github.com/NixOS/nixos-hardware.git"; }}/apple/t2" + ]; # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; @@ -64,7 +69,7 @@ # Enable CUPS to print documents. services.printing.enable = true; - + services.flatpak.enable = true; # Enable sound. # services.pulseaudio.enable = true; # OR @@ -76,7 +81,6 @@ # Enable touchpad support (enabled default in most desktopManager). # services.libinput.enable = true; - programs.firefox.enable = true; hardware.bluetooth = { @@ -85,12 +89,35 @@ }; # List packages installed in system profile. + + nix.settings = { + substituters = [ "https://cache.nixos.org" ]; + trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" ]; + }; + + nixpkgs.config.allowUnfree = true; + # You can use https://search.nixos.org/ to find more packages (and options). environment.systemPackages = with pkgs; [ vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. wget + helix + spotify + tor-browser ]; + hardware.graphics.enable32Bit = true; + + programs.steam = { + enable = true; + remotePlay.openFirewall = true; + dedicatedServer.openFirewall = true; + }; + + environment.variables = { + EDITOR = "hx"; + VISUAL = "hx"; + }; # Some programs need SUID wrappers, can be configured further or are # started in user sessions. # programs.mtr.enable = true;