fix a lot

This commit is contained in:
2025-05-11 15:52:58 +08:00
parent 1c69e74fd6
commit 3973b407ae
7 changed files with 10 additions and 19 deletions

View File

@@ -9,7 +9,7 @@ inputs: let inherit (inputs) topInputs; in
topInputs.nix-flatpak.nixosModules.nix-flatpak
topInputs.chaotic.nixosModules.default
{ config.chaotic.nyx.overlay.onTopOf = "user-pkgs"; }
topInputs.catppuccin.homeModules.catppuccin
topInputs.catppuccin.nixosModules.catppuccin
topInputs.aagl.nixosModules.default
topInputs.nixvirt.nixosModules.default
(inputs:
@@ -19,7 +19,7 @@ inputs: let inherit (inputs) topInputs; in
home-manager.sharedModules =
[
topInputs.plasma-manager.homeManagerModules.plasma-manager
topInputs.catppuccin.homeManagerModules.catppuccin
topInputs.catppuccin.homeModules.catppuccin
];
};
})

View File

@@ -13,7 +13,7 @@ inputs:
(inputs.pkgs.runCommand "winapps-windows" {}
''
mkdir -p $out/share/applications
cp ${inputs.pkgs.substituteAll { src = ./windows.desktop; path = inputs.topInputs.winapps; }} \
cp ${inputs.pkgs.replaceVars ./windows.desktop { path = inputs.topInputs.winapps; }} \
$out/share/applications/windows.desktop
'')
]

View File

@@ -35,11 +35,8 @@ inputs:
WorkingDirectory = "/var/lib/fz-new-order";
ExecStart =
let
src = inputs.pkgs.substituteAll
{
src = ./main.cpp;
config_file = inputs.config.sops.templates."fz-new-order/config.json".path;
};
src = inputs.pkgs.replaceVars ./main.cpp
{ config_file = inputs.config.sops.templates."fz-new-order/config.json".path; };
binary = inputs.pkgs.stdenv.mkDerivation
{
name = "fz-new-order";

View File

@@ -19,7 +19,7 @@ inputs:
yakuake = rec
{
fileName = "org.kde.yakuake.desktop";
path = "${inputs.pkgs.yakuake}/share/applications/${fileName}";
path = "${inputs.pkgs.kdePackages.yakuake}/share/applications/${fileName}";
};
telegram = rec
{
@@ -38,7 +38,7 @@ inputs:
kmail = rec
{
fileName = "org.kde.kmail2.desktop";
path = "${inputs.pkgs.kmail}/share/applications/${fileName}";
path = "${inputs.pkgs.kdePackages.kmail}/share/applications/${fileName}";
};
discord = rec
{

View File

@@ -65,7 +65,7 @@ inputs:
};
home.file.".local/share/konsole/Breeze.colorscheme".text = builtins.replaceStrings
[ "Opacity=1" ] [ "Opacity=0.9\nBlur=true" ]
(builtins.readFile "${inputs.pkgs.konsole}/share/konsole/Breeze.colorscheme");
(builtins.readFile "${inputs.pkgs.kdePackages.konsole}/share/konsole/Breeze.colorscheme");
};
environment.persistence."/nix/rootfs/current".users.chn.directories =
[ ".local/share/konsole" ".local/share/yakuake" ];

View File

@@ -1,8 +1,4 @@
{
stdenv, lib, sbatchConfig ? null, substituteAll, runCommand,
cmake, pkg-config, ftxui, biu
}:
stdenv.mkDerivation
{ stdenv, lib, sbatchConfig ? null, runCommand, cmake, pkg-config, ftxui, biu }: stdenv.mkDerivation
{
name = "chn-bsub";
src = ./.;

View File

@@ -1,6 +1,4 @@
{
stdenv, src, cmake, pkg-config, substituteAll
}: stdenv.mkDerivation
{ stdenv, src, cmake, pkg-config }: stdenv.mkDerivation
{
name = "matplotplusplus";
inherit src;