From bb556d5533e010b7be2d8566084f0364ec51aa35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 23 Oct 2022 10:51:00 +0100 Subject: [PATCH] use stable discord --- flake.lock | 36 ++++++++++++++++++------------------ flake.nix | 12 +++++------- nixos/gui/default.nix | 5 +++-- 3 files changed, 26 insertions(+), 27 deletions(-) diff --git a/flake.lock b/flake.lock index af288d5b..1806392d 100644 --- a/flake.lock +++ b/flake.lock @@ -101,11 +101,11 @@ }, "nixpkgs-22_05": { "locked": { - "lastModified": 1665870850, - "narHash": "sha256-EkC/Kkc9cr2orI868OHnh6F8/aqS4TZy38ie+KnhfS8=", + "lastModified": 1666488099, + "narHash": "sha256-DANs2epN5QgvxWzH7xF3dzb4WE0lEuMLrMEu/vPmQxw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "945a85cb7ee31f5f8c49432d77b610b777662d4f", + "rev": "f9115594149ebcb409a42e303bec4956814a8419", "type": "github" }, "original": { @@ -117,11 +117,11 @@ }, "nixpkgs-master": { "locked": { - "lastModified": 1666383964, - "narHash": "sha256-hcGxDlFPTFSAIQvMBum8b689ePuoX2RseBgPHTS3FQk=", + "lastModified": 1666517449, + "narHash": "sha256-zt3tlT8CJOuL8WnXsnKtkVWPayIloKZPyXWbTaiYCWE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "13ecba54c3246c8458dc434a213df64477571f19", + "rev": "a914cf6ea386ad4354d4613d7882a3766decb888", "type": "github" }, "original": { @@ -133,11 +133,11 @@ }, "nixpkgs-nixos-unstable": { "locked": { - "lastModified": 1666282307, - "narHash": "sha256-O1T2HGLARLKDLfdOmjPBfn3eC4cSIaQD71wUN4I/6/s=", + "lastModified": 1666377499, + "narHash": "sha256-dZZCGvWcxc7oGnUgFVf0UeNHsJ4VhkTM0v5JRe8EwR8=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "b7d8c687782c8f9a1d425a7e486eb989654f6468", + "rev": "301aada7a64812853f2e2634a530ef5d34505048", "type": "github" }, "original": { @@ -149,11 +149,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1666249138, - "narHash": "sha256-CzK8NA8xEMKAhvHXB8UMODckcH97sZXm6lziKNWLv0M=", + "lastModified": 1666401273, + "narHash": "sha256-AG3MoIjcWwz1SPjJ2nymWu4NmeVj9P40OpB1lsmxFtg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "44fc3cb097324c9f9f93313dd3f103e78d722968", + "rev": "3933d8bb9120573c0d8d49dc5e890cb211681490", "type": "github" }, "original": { @@ -165,11 +165,11 @@ }, "nur": { "locked": { - "lastModified": 1666379733, - "narHash": "sha256-xTccyWMYazUMUAlqpjni0kX6+/wrxHvr6KdKXGOaDek=", + "lastModified": 1666511160, + "narHash": "sha256-TDeV600LPda/RI+2Flz11r8AamzFBZBToSnuLvlKb0s=", "owner": "nix-community", "repo": "NUR", - "rev": "1fb7e7080e783fdcad15ba5ed0c6b7ce24a37f51", + "rev": "0f5061ee4214d46ee0093c39899e6d07efcb1ef6", "type": "github" }, "original": { @@ -226,11 +226,11 @@ "nixpkgs-22_05": "nixpkgs-22_05" }, "locked": { - "lastModified": 1666078616, - "narHash": "sha256-ifW3GhIxuKv5+AidKAPpmtS8M7TY2d7VS6eFnaCFdfU=", + "lastModified": 1666499473, + "narHash": "sha256-q1eFnBFL0kHgcnUPeKagw3BfbE/5sMJNGL2E2AR+a2M=", "owner": "Mic92", "repo": "sops-nix", - "rev": "8e470d4eac115aa793437e52e84e7f9abdce236b", + "rev": "1b5f9512a265f0c9687dbff47893180f777f4809", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 1f13cd7f..2ce0f589 100644 --- a/flake.nix +++ b/flake.nix @@ -41,13 +41,7 @@ } ]; - specialArgs = { - inherit inputs system; - nixpkgs-nixos-unstable-and-unfree = import nixpkgs-nixos-unstable { - inherit system; - config = { allowUnfree = true; }; - }; - }; + specialArgs = { inherit inputs system; }; }; mkWorkstation = pkgs: system: hostname: pkgs.lib.nixosSystem { @@ -73,6 +67,10 @@ ]; specialArgs = { inherit inputs system; + nixpkgs-nixos-stable-and-unfree = import nixpkgs-stable { + inherit system; + config = { allowUnfree = true; }; + }; nixpkgs-nixos-unstable-and-unfree = import nixpkgs-nixos-unstable { inherit system; config = { allowUnfree = true; }; diff --git a/nixos/gui/default.nix b/nixos/gui/default.nix index 6e7b14a4..232be882 100644 --- a/nixos/gui/default.nix +++ b/nixos/gui/default.nix @@ -1,4 +1,5 @@ -{ config, pkgs, discord, inputs, nixpkgs-nixos-unstable-and-unfree, ... }: +{ config, pkgs, discord, inputs, nixpkgs-nixos-stable-and-unfree +, nixpkgs-nixos-unstable-and-unfree, ... }: let unstable = inputs.nixpkgs-nixos-unstable.legacyPackages.${pkgs.system}; nixpkgs-master = inputs.nixpkgs-master.legacyPackages.${pkgs.system}; @@ -75,7 +76,7 @@ in { yubikey-personalization yubikey-personalization-gui ] ++ [ unstable.gnucash unstable.thunderbird ] ++ [ - nixpkgs-nixos-unstable-and-unfree.discord + nixpkgs-nixos-stable-and-unfree.discord nixpkgs-nixos-unstable-and-unfree.hopper ]; };