tokodon: install from nixos-unstable

reason: not yet backported to stable
This commit is contained in:
Trolli Schmittlauch 2023-04-14 03:00:58 +02:00
parent c568b8dc24
commit 35bb7901e5
2 changed files with 9 additions and 4 deletions

View file

@ -30,7 +30,10 @@
inherit system; inherit system;
modules = [ ./nixos/configuration.nix ]; modules = [ ./nixos/configuration.nix ];
# necessary to make the top-level inputs available to system configuration # necessary to make the top-level inputs available to system configuration
specialArgs = { inherit inputs; }; specialArgs = {
#TODO: for system, consider moving to flake-utils
inherit inputs system;
};
}; };
homeConfigurations.spiollinux = inputs.home-manager.lib.homeManagerConfiguration { homeConfigurations.spiollinux = inputs.home-manager.lib.homeManagerConfiguration {
inherit pkgs; inherit pkgs;
@ -49,7 +52,8 @@
# Optionally use extraSpecialArgs # Optionally use extraSpecialArgs
# to pass through arguments to home.nix # to pass through arguments to home.nix
extraSpecialArgs = { extraSpecialArgs = {
inherit inputs; #TODO: for system, consider moving to flake-utils
inherit inputs system;
}; };
}; };
}; };

View file

@ -1,9 +1,9 @@
{ pkgs, inputs, config, ... }: { pkgs, inputs, config, system, ... }:
with pkgs; with pkgs;
let let
# nix-channel --add https://nixos.org/channels/nixos-unstable nixos-unstable # nix-channel --add https://nixos.org/channels/nixos-unstable nixos-unstable
unstable = inputs.nixos-unstable; unstable = inputs.nixos-unstable.legacyPackages.${system};
desktopApps = [ desktopApps = [
firefox firefox
@ -155,6 +155,7 @@ let
skanlite skanlite
akonadiconsole akonadiconsole
plasma-browser-integration plasma-browser-integration
unstable.tokodon # mastodon client
] ]
++ ( ++ (
with kdeFrameworks; [ with kdeFrameworks; [