Skip to content

Commit

Permalink
chore: nix flake update
Browse files Browse the repository at this point in the history
  • Loading branch information
konradmalik committed Aug 26, 2023
1 parent be091d3 commit 93b6975
Show file tree
Hide file tree
Showing 7 changed files with 88 additions and 54 deletions.
110 changes: 66 additions & 44 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,13 @@
};
};
sops-nix = {
# url = "github:Mic92/sops-nix";
url = "github:shyim/sops-nix/shyim-patch-1";
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs-unstable";
inputs.nixpkgs-stable.follows = "nixpkgs";
};
nix-colors.url = "github:misterio77/nix-colors";
hyprland = {
url = "github:hyprwm/Hyprland/v0.28.0";
url = "github:hyprwm/Hyprland";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ in
{
programs.waybar = {
enable = true;
package = inputs.hyprland.packages.${pkgs.system}.waybar-hyprland;
package = pkgs.unstable.waybar;
settings = {
secondary = {
output = builtins.map (m: m.name) (builtins.filter (m: !m.isPrimary) config.monitors);
Expand Down
4 changes: 2 additions & 2 deletions hosts/common/optional/wayland-wm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ in
wlr.enable = !anyHyprlandEnabled;
# gtk portal needed to make gtk apps happy
extraPortals = [
pkgs.xdg-desktop-portal-gtk
] ++ lib.optionals anyHyprlandEnabled [ pkgs.xdg-desktop-portal-hyprland ];
pkgs.unstable.xdg-desktop-portal-gtk
];
};

hardware.opengl = {
Expand Down
9 changes: 7 additions & 2 deletions hosts/m3800/hardware-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;

boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
Expand All @@ -30,5 +30,10 @@
# networking.interfaces.wlp6s0.useDHCP = lib.mkDefault true;

nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;

hardware = {
cpu.intel.updateMicrocode = true;
enableRedistributableFirmware = true;
enableAllFirmware = true;
};
}
6 changes: 5 additions & 1 deletion hosts/vaio/hardware-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,9 @@
# networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true;

nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware = {
cpu.intel.updateMicrocode = true;
enableRedistributableFirmware = true;
enableAllFirmware = true;
};
}
6 changes: 5 additions & 1 deletion hosts/xps12/hardware-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,9 @@
# networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true;

nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware = {
cpu.intel.updateMicrocode = true;
enableRedistributableFirmware = true;
enableAllFirmware = true;
};
}

0 comments on commit 93b6975

Please sign in to comment.