diff --git a/flake.lock b/flake.lock index a8401976..2e718474 100644 --- a/flake.lock +++ b/flake.lock @@ -23,11 +23,11 @@ ] }, "locked": { - "lastModified": 1691963303, - "narHash": "sha256-zqvt4N4Ic06BrGo02itCIPTEKzVnGT0BtGbIr+aUGqE=", + "lastModified": 1692248770, + "narHash": "sha256-tZeFpETKQGbgnaSIO1AGWD27IyTcBm4D+A9d7ulQ4NM=", "owner": "lnl7", "repo": "nix-darwin", - "rev": "3fcd83783a1e2ddad0f14821da4186a95bc76c50", + "rev": "511177ffe8226c78c9cf6a92a7b5f2df3684956b", "type": "github" }, "original": { @@ -115,20 +115,20 @@ "nixpkgs": [ "nixpkgs-unstable" ], + "systems": "systems", "wlroots": "wlroots", "xdph": "xdph" }, "locked": { - "lastModified": 1691078410, - "narHash": "sha256-t1Ksv5/xwRgi8oH9jyoIEuMHi9cYIZSg3yEJLYMb78Y=", + "lastModified": 1692871050, + "narHash": "sha256-OJ/OkOLFn546rcXmj/3VEGlsPYjdXWAhEmjqdc6re6k=", "owner": "hyprwm", "repo": "Hyprland", - "rev": "9654749244117f7f150c6f2a2ce4dede6e8cbb25", + "rev": "90c03e5bd2204ba6d1a0167c68f65b7a9231bef4", "type": "github" }, "original": { "owner": "hyprwm", - "ref": "v0.28.0", "repo": "Hyprland", "type": "github" } @@ -138,14 +138,18 @@ "nixpkgs": [ "hyprland", "nixpkgs" + ], + "systems": [ + "hyprland", + "systems" ] }, "locked": { - "lastModified": 1684265364, - "narHash": "sha256-AxNnWbthsuNx73HDQr0eBxrcE3+yfl/WsaXZqUFmkpQ=", + "lastModified": 1691753796, + "narHash": "sha256-zOEwiWoXk3j3+EoF3ySUJmberFewWlagvewDRuWYAso=", "owner": "hyprwm", "repo": "hyprland-protocols", - "rev": "8c279b9fb0f2b031427dc5ef4eab53f2ed835530", + "rev": "0c2ce70625cb30aef199cb388f99e19a61a6ce03", "type": "github" }, "original": { @@ -166,11 +170,11 @@ "nvim-luaref": "nvim-luaref" }, "locked": { - "lastModified": 1692287182, - "narHash": "sha256-Tq6+YKDpXOLZX8fujgr/pf38cVH1tBsF2SpnuE9lj+c=", + "lastModified": 1692981273, + "narHash": "sha256-9M9rfLIbiK7uxtrMRgACS8K2/3U4Pr8rmAHTFLXjPVw=", "owner": "konradmalik", "repo": "neovim-flake", - "rev": "8286576732f07a9e08caf3a026845b1079dd615e", + "rev": "5bcd7c38bda6f3008ad710cf61ceec268f417396", "type": "github" }, "original": { @@ -188,11 +192,11 @@ }, "locked": { "dir": "contrib", - "lastModified": 1692138954, - "narHash": "sha256-mZiGi4hRCEeIPvnqBj5HoOVChsuMClDhHjVXekxuVn4=", + "lastModified": 1692574122, + "narHash": "sha256-2OVztOs93qPgjT06jzQuEGs8XKPbJoOSmT6e4ADu7ok=", "owner": "neovim", "repo": "neovim", - "rev": "7854874367bf0c7dc5e6c1bcd8d8778a3794f927", + "rev": "46fc9d547cb49dc99a3bc51e7407d30445ae9e98", "type": "github" }, "original": { @@ -224,11 +228,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1691871742, - "narHash": "sha256-6yDNjfbAMpwzWL4y75fxs6beXHRANfYX8BNSPjYehck=", + "lastModified": 1692952286, + "narHash": "sha256-TsrtPv3+Q1KR0avZxpiJH+b6fX/R/hEQVHbjl1ebotY=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "430a56dd16fe583a812b2df44dca002acab2f4f6", + "rev": "817e297fc3352fadc15f2c5306909aa9192d7d97", "type": "github" }, "original": { @@ -240,11 +244,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1692134936, - "narHash": "sha256-Z68O969cioC6I3k/AFBxsuEwpJwt4l9fzwuAMUhCCs0=", + "lastModified": 1692794066, + "narHash": "sha256-H0aG8r16dj0x/Wz6wQhQxc9V7AsObOiHPaKxQgH6Y08=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "bfd953b2c6de4f550f75461bcc5768b6f966be10", + "rev": "fc944919f743bb22379dddf18dcb72db6cff84aa", "type": "github" }, "original": { @@ -256,11 +260,11 @@ }, "nixpkgs-darwin": { "locked": { - "lastModified": 1692192038, - "narHash": "sha256-fXUZ7GF2VPoLGP0DmTbdUxCRRFVZWn09XvopOqDOAFg=", + "lastModified": 1692873956, + "narHash": "sha256-iSv/8qZhUKviiWKKfOXKtyA6CmzA2Ln/cH3PZLBCZIA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "b0c9d793fcab2f749ab3d543ba42facf90bb1bd9", + "rev": "d540c6348227dff41a708db5c0b70cc3018080ea", "type": "github" }, "original": { @@ -287,11 +291,11 @@ }, "nixpkgs-master": { "locked": { - "lastModified": 1692219526, - "narHash": "sha256-5Kd+yjwPJAzUhC5FdLdrd97+aM6ZL124P6YwdErMimc=", + "lastModified": 1692955279, + "narHash": "sha256-fTAUBSEDk0VtfA0gY/2suDa7w1lco2h+69bGOfkV9uo=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9049df5a042d6496c7aaa41ced282f3798127eef", + "rev": "2e58a67edbaf71252afd6d11f59e8d35e1399ce8", "type": "github" }, "original": { @@ -303,11 +307,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1692190437, - "narHash": "sha256-yJUZzmzSmDYb9ONPnMQDru66RjZgGQZRvj3tQebkexk=", + "lastModified": 1692808169, + "narHash": "sha256-x9Opq06rIiwdwGeK2Ykj69dNc2IvUH1fY55Wm7atwrE=", "owner": "nixos", "repo": "nixpkgs", - "rev": "9b2aa98db6b10503666a50f4eb93b2fc0d57bde5", + "rev": "9201b5ff357e781bf014d0330d18555695df7ba8", "type": "github" }, "original": { @@ -360,36 +364,50 @@ ] }, "locked": { - "lastModified": 1692253362, - "narHash": "sha256-CRrGwLcRwlsGzVhYWEn0d6vwH357hcBdvY6hQx6tWeo=", - "owner": "shyim", + "lastModified": 1692728678, + "narHash": "sha256-02MjG7Sb9k7eOi86CcC4GNWVOjT6gjmXFSqkRjZ8Xyk=", + "owner": "Mic92", "repo": "sops-nix", - "rev": "2557741644f883c76846e542d1a1404b31a9ebcf", + "rev": "1b7b3a32d65dbcd69c217d7735fdf0a6b2184f45", "type": "github" }, "original": { - "owner": "shyim", - "ref": "shyim-patch-1", + "owner": "Mic92", "repo": "sops-nix", "type": "github" } }, + "systems": { + "locked": { + "lastModified": 1689347949, + "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", + "owner": "nix-systems", + "repo": "default-linux", + "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default-linux", + "type": "github" + } + }, "wlroots": { "flake": false, "locked": { "host": "gitlab.freedesktop.org", - "lastModified": 1690165843, - "narHash": "sha256-gv5kjss6REeQG0BmvK2gTx7jHLRdCnP25po6It6I6N8=", + "lastModified": 1691073628, + "narHash": "sha256-LlxE3o3UzRY7APYVLGNKM30DBMcDifCRIQiMVSbYLIc=", "owner": "wlroots", "repo": "wlroots", - "rev": "e8d545a9770a2473db32e0a0bfa757b05d2af4f3", + "rev": "c74f89d4f84bfed0284d3908aee5d207698c70c5", "type": "gitlab" }, "original": { "host": "gitlab.freedesktop.org", "owner": "wlroots", "repo": "wlroots", - "rev": "e8d545a9770a2473db32e0a0bfa757b05d2af4f3", + "rev": "c74f89d4f84bfed0284d3908aee5d207698c70c5", "type": "gitlab" } }, @@ -402,14 +420,18 @@ "nixpkgs": [ "hyprland", "nixpkgs" + ], + "systems": [ + "hyprland", + "systems" ] }, "locked": { - "lastModified": 1685385764, - "narHash": "sha256-r+XMyOoRXq+hlfjayb+fyi9kq2JK48TrwuNIAXqlj7U=", + "lastModified": 1691841170, + "narHash": "sha256-RCTm1/MVWYPnReMgyp7tr2ogGYo/pvw38jZaFwemgPU=", "owner": "hyprwm", "repo": "xdg-desktop-portal-hyprland", - "rev": "4d9ff0c17716936e0b5ca577a39e263633901ed1", + "rev": "57a3a41ba6b358109e4fc25c6a4706b5f7d93c6b", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 337a7b55..0025ed94 100644 --- a/flake.nix +++ b/flake.nix @@ -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"; }; }; diff --git a/home/konrad/common/optional/desktop/common/wayland-wm/waybar.nix b/home/konrad/common/optional/desktop/common/wayland-wm/waybar.nix index bc9dc830..e9cc0830 100644 --- a/home/konrad/common/optional/desktop/common/wayland-wm/waybar.nix +++ b/home/konrad/common/optional/desktop/common/wayland-wm/waybar.nix @@ -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); diff --git a/hosts/common/optional/wayland-wm.nix b/hosts/common/optional/wayland-wm.nix index 3534c917..b088d02c 100644 --- a/hosts/common/optional/wayland-wm.nix +++ b/hosts/common/optional/wayland-wm.nix @@ -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 = { diff --git a/hosts/m3800/hardware-configuration.nix b/hosts/m3800/hardware-configuration.nix index 0479e94f..d69e6816 100644 --- a/hosts/m3800/hardware-configuration.nix +++ b/hosts/m3800/hardware-configuration.nix @@ -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 = [ ]; @@ -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; + }; } diff --git a/hosts/vaio/hardware-configuration.nix b/hosts/vaio/hardware-configuration.nix index 80db6ef5..85851cc4 100644 --- a/hosts/vaio/hardware-configuration.nix +++ b/hosts/vaio/hardware-configuration.nix @@ -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; + }; } diff --git a/hosts/xps12/hardware-configuration.nix b/hosts/xps12/hardware-configuration.nix index eca03935..276528f7 100644 --- a/hosts/xps12/hardware-configuration.nix +++ b/hosts/xps12/hardware-configuration.nix @@ -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; + }; }