chore(nix): use nixos-unstable-small

This commit is contained in:
steveej 2023-05-25 11:30:03 +02:00
parent 8c1d4fca8c
commit acaa6dc4cf
5 changed files with 15 additions and 8 deletions

View file

@ -6,8 +6,8 @@
packages',
...
}: let
pkgsUnstable = pkgs.callPackage nodeFlake.inputs.nixpkgs-unstable.outPath {};
pkgsMaster = pkgs.callPackage nodeFlake.inputs.nixpkgs-master.outPath {};
pkgsMaster = nodeFlake.inputs.nixpkgs-master.${pkgs.system};
pkgsUnstableSmall = nodeFlake.inputs.nixpkgs-unstable-small.legacyPackages.${pkgs.system};
in {
imports = [
../profiles/common.nix
@ -40,6 +40,11 @@ in {
home.sessionVariables.GOPATH = "$HOME/src/go";
home.sessionVariables.PATH = pkgs.lib.concatStringsSep ":" ["$HOME/.local/bin" "$PATH"];
# required by logseq as of 2023-05-24
nixpkgs.config.permittedInsecurePackages = [
"electron-20.3.11"
];
home.packages =
[]
++ (with pkgs; [
@ -174,8 +179,7 @@ in {
# Document Processing and Management
mendeley
evince
pkgsUnstable.logseq
# (pkgsUnstable.logseq.override (_: {electron = pkgs.electron_20;}))
(logseq.override (_: {electron = pkgs.electron_20;}))
# File Synchronzation
dropbox
@ -227,7 +231,7 @@ in {
# openshot-qt
# introduces python: screenkey
pkgsUnstable.ledger-live-desktop
pkgsUnstableSmall.ledger-live-desktop
]);
systemd.user.startServices = true;