diff options
Diffstat (limited to 'Biz')
-rw-r--r-- | Biz/Dev/Beryllium/Configuration.nix | 17 | ||||
-rw-r--r-- | Biz/OsBase.nix | 6 |
2 files changed, 16 insertions, 7 deletions
diff --git a/Biz/Dev/Beryllium/Configuration.nix b/Biz/Dev/Beryllium/Configuration.nix index 8b81a0e..712f2eb 100644 --- a/Biz/Dev/Beryllium/Configuration.nix +++ b/Biz/Dev/Beryllium/Configuration.nix @@ -71,12 +71,16 @@ # Enable touchpad support (enabled default in most desktopManager). # services.xserver.libinput.enable = true; - #services.xserver.videoDrivers = [ "nvidia" ]; - #hardware.nvidia.nvidiaPersistenced = true; - #hardware.nvidia.modesetting.enable = true; - #hardware.nvidia.powerManagement.enable = false; - #hardware.nvidia.open = true; - #hardware.nvidia.nvidiaSettings = true; + hardware.opengl.enable = true; + hardware.opengl.driSupport = true; + hardware.opengl.driSupport32Bit = true; + services.xserver.videoDrivers = [ "nvidia" ]; + hardware.nvidia.nvidiaPersistenced = true; + hardware.nvidia.modesetting.enable = true; + hardware.nvidia.powerManagement.enable = false; + hardware.nvidia.powerManagement.finegrained = false; + hardware.nvidia.open = true; + hardware.nvidia.nvidiaSettings = true; # Define a user account. Don't forget to set a password with ‘passwd’. #users.users.ben = { @@ -108,6 +112,7 @@ # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ + nvtop # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. # wget ]; diff --git a/Biz/OsBase.nix b/Biz/OsBase.nix index c82b935..ffd7258 100644 --- a/Biz/OsBase.nix +++ b/Biz/OsBase.nix @@ -1,8 +1,12 @@ -{...}: +{pkgs, ...}: let ports = import ./Cloud/Ports.nix; in { boot.cleanTmpDir = true; + fonts.fonts = with pkgs; [ + google-fonts mononoki source-code-pro fantasque-sans-mono hack-font + fira fira-code fira-code-symbols + ]; networking.firewall.allowPing = true; nix.settings.substituters = [ "https://cache.nixos.org" ]; # "ssh://dev.simatime.com" ]; nix.gc.automatic = true; |