diff --git a/hosts/desktop/default.nix b/hosts/desktop/default.nix index f6ee956..7bb0fdf 100644 --- a/hosts/desktop/default.nix +++ b/hosts/desktop/default.nix @@ -17,7 +17,20 @@ ../../modules/system/utils/locale.nix ]; - nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix.settings = { + experimental-features = [ "nix-command" "flakes" ]; + + substituters = [ + "http://binarycache.example.com" + "https://nix-community.cachix.org" + "https://cache.nixos.org/" + ]; + trusted-public-keys = [ + "binarycache.example.com-1:dsafdafDFW123fdasfa123124FADSAD" + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; + }; + # Bootloader. boot.loader.efi.canTouchEfiVariables = true; diff --git a/hosts/laptop/default.nix b/hosts/laptop/default.nix index 163b9d4..00c1896 100644 --- a/hosts/laptop/default.nix +++ b/hosts/laptop/default.nix @@ -6,6 +6,7 @@ ../../modules/system/desktop/amd.nix ../../modules/system/desktop/hyprland.nix ../../modules/system/desktop/bluetooth.nix + ../../modules/system/programs/steam.nix ../../modules/system/programs/syncthing.nix ../../modules/system/programs/thunar.nix ../../modules/system/programs/virtualization.nix @@ -15,7 +16,21 @@ ../../modules/system/utils/locale.nix ]; - nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix.settings = { + experimental-features = [ "nix-command" "flakes" ]; + + substituters = [ + "http://binarycache.example.com" + "https://nix-community.cachix.org" + "https://cache.nixos.org/" + "https://cache.garnix.io" + ]; + trusted-public-keys = [ + "binarycache.example.com-1:dsafdafDFW123fdasfa123124FADSAD" + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" + ]; + }; # Bootloader. boot.loader.efi.canTouchEfiVariables = true; diff --git a/modules/home/desktop/hyprland/default.nix b/modules/home/desktop/hyprland/default.nix index b5d3985..767d2c1 100644 --- a/modules/home/desktop/hyprland/default.nix +++ b/modules/home/desktop/hyprland/default.nix @@ -26,7 +26,7 @@ wayland.windowManager.hyprland = { enable = true; settings = { - monitor = if hostName == "xv-laptop" then ",preferred,auto,1.566667" else ",preferred,auto,auto"; + monitor = if hostName == "xv-laptop" then ",preferred,auto,1.4" else ",preferred,auto,auto"; exec-once = [ "waybar"