From 2fcdab89e98354f5a69cfe1c3dfa23e9d04f60b8 Mon Sep 17 00:00:00 2001 From: spl3g Date: Wed, 29 Nov 2023 00:22:23 +0300 Subject: update configs --- nixos/configuration.nix | 19 +++++++++---------- nixos/hardware-configuration.nix | 2 +- 2 files changed, 10 insertions(+), 11 deletions(-) (limited to 'nixos') diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 068db8b..f7530ba 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -48,21 +48,25 @@ # Deduplicate and optimize nix store auto-optimise-store = true; # Enable cachix - substituters = [ "https://nix-gaming.cachix.org" ]; - trusted-public-keys = [ "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4=" ]; - }; }; time.timeZone = "Europe/Moscow"; networking.hostName = "ltrr"; - networking.networkmanager.enable = true; + networking.networkmanager = { + enable = true; + }; + + networking.firewall.enable = false; + networking.nftables.enable = true; boot.loader = { systemd-boot.enable = true; efi.canTouchEfiVariables = true; }; + services.openssh.enable = true; + services = { xserver = { enable = true; @@ -111,18 +115,13 @@ alsa.enable = true; pulse.enable = true; jack.enable = true; - }; - - virtualisation.virtualbox.host.enable = true; - users.extraGroups.vboxusers.members = [ "jerpo" ]; + }; environment.systemPackages = with pkgs; [ vim git - btrfs-progs ntfs3g xorg.xinit - carapace ]; services.udisks2 = { enable = true; diff --git a/nixos/hardware-configuration.nix b/nixos/hardware-configuration.nix index 93f86c1..73472f8 100644 --- a/nixos/hardware-configuration.nix +++ b/nixos/hardware-configuration.nix @@ -48,5 +48,5 @@ driSupport32Bit = true; extraPackages = with pkgs; [ intel-compute-runtime ]; }; - hardware.opentabletdriver.enable = true; + # hardware.opentabletdriver.enable = true; } -- cgit v1.2.3