task | Pin zoom to older/working version for now
This commit is contained in:
parent
173f0b9e7a
commit
97654b4579
3 changed files with 19 additions and 7 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
# nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11";
|
||||||
catppuccin.url = "github:catppuccin/nix";
|
catppuccin.url = "github:catppuccin/nix";
|
||||||
colmena.url = "github:zhaofengli/colmena";
|
colmena.url = "github:zhaofengli/colmena";
|
||||||
colmena.inputs.nixpkgs.follows = "nixpkgs";
|
colmena.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
@ -12,10 +12,12 @@
|
||||||
# nixos-cosmic.url = "github:lilyinstarlight/nixos-cosmic";
|
# nixos-cosmic.url = "github:lilyinstarlight/nixos-cosmic";
|
||||||
# nixos-cosmic.inputs.nixpkgs.follows = "nixpkgs";
|
# nixos-cosmic.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||||
|
nixpkgs-zoom.url = "github:NixOS/nixpkgs/06031e8a5d9d5293c725a50acf01242193635022";
|
||||||
|
# nixpkgs-zoom.url = "github:NixOS/nixpkgs/79077930a404da8b7cd7ecf2fe05e8a80347e340";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs@{ self, nixpkgs, nix,
|
outputs = inputs@{ self, nixpkgs, nix,
|
||||||
# nixos-cosmic,
|
nixpkgs-stable,
|
||||||
nixos-hardware, home-manager, catppuccin, colmena, ... }:
|
nixos-hardware, home-manager, catppuccin, colmena, ... }:
|
||||||
let
|
let
|
||||||
inherit (self) outputs;
|
inherit (self) outputs;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,11 @@
|
||||||
{ inputs, outputs, ... }: {
|
{ inputs, outputs, pkgs, pkgs-stable, ... }: {
|
||||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||||
home-manager.extraSpecialArgs = { inherit inputs outputs; };
|
home-manager.extraSpecialArgs = {
|
||||||
|
pkgs-stable = import pkgs-stable {
|
||||||
|
config.allowUnfree = true;
|
||||||
|
};
|
||||||
|
inherit inputs outputs;
|
||||||
|
};
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,14 @@
|
||||||
{ lib, config, pkgs, inputs, outputs, home-manager, ... }:
|
{ lib, config, pkgs, pkgs-stable, inputs, outputs, home-manager, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let cfg = config.roles.zoom;
|
let
|
||||||
|
cfg = config.roles.zoom;
|
||||||
|
zoomPkgs = import inputs.nixpkgs-zoom {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
config.allowUnfree = true;
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
options.roles.zoom = { enable = lib.mkEnableOption "citrix tools"; };
|
options.roles.zoom = { enable = lib.mkEnableOption "citrix tools"; };
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home-manager.users.don.home.packages = with pkgs; [ zoom-us ];
|
home-manager.users.don.home.packages = [ zoomPkgs.zoom-us ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue