From 9da7347a138e12fed979db6924a236509accb102 Mon Sep 17 00:00:00 2001 From: Jarkko Toivanen Date: Tue, 2 May 2023 02:47:26 +0300 Subject: [PATCH] Cleaning up --- nixos/desktop/configuration.nix | 40 +++++++++++---------------------- 1 file changed, 13 insertions(+), 27 deletions(-) diff --git a/nixos/desktop/configuration.nix b/nixos/desktop/configuration.nix index febf5d5..56f0be2 100644 --- a/nixos/desktop/configuration.nix +++ b/nixos/desktop/configuration.nix @@ -180,34 +180,28 @@ #noto-fonts-emoji ]; - programs = { - steam = { - enable = true; - remotePlay.openFirewall = - true; # Open ports in the firewall for Steam Remote Play - dedicatedServer.openFirewall = - true; # Open ports in the firewall for Source Dedicated Server - }; - - bash ={ - shellAliases = { - cross="NIX_STORE=/nix/store cross"; - }; + nixpkgs.config.allowUnfree = true; + programs.steam = { + enable = true; + remotePlay.openFirewall = + true; # Open ports in the firewall for Steam Remote Play + dedicatedServer.openFirewall = + true; # Open ports in the firewall for Source Dedicated Server + }; + programs.bash ={ + shellAliases = { + cross="NIX_STORE=/nix/store cross"; }; }; - programs.dconf.enable = true; programs.iftop.enable = true; programs.iotop.enable = true; programs.htop.enable = true; programs.tmux.enable = true; - - nixpkgs.config.allowUnfree = true; - 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 + wget emacs + nano polkit_gnome pavucontrol pasystray @@ -267,14 +261,6 @@ ]; }; - # Some programs need SUID wrappers, can be configured further or are - # started in user sessions. - #programs.mtr.enable = true; - #programs.gnupg.agent = { - # enable = true; - # enableSSHSupport = true; - #}; - # 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. It is perfectly fine and recommended to leave