mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 02:09:26 +08:00
fix a lot
This commit is contained in:
@@ -9,7 +9,7 @@ inputs: let inherit (inputs) topInputs; in
|
|||||||
topInputs.nix-flatpak.nixosModules.nix-flatpak
|
topInputs.nix-flatpak.nixosModules.nix-flatpak
|
||||||
topInputs.chaotic.nixosModules.default
|
topInputs.chaotic.nixosModules.default
|
||||||
{ config.chaotic.nyx.overlay.onTopOf = "user-pkgs"; }
|
{ config.chaotic.nyx.overlay.onTopOf = "user-pkgs"; }
|
||||||
topInputs.catppuccin.homeModules.catppuccin
|
topInputs.catppuccin.nixosModules.catppuccin
|
||||||
topInputs.aagl.nixosModules.default
|
topInputs.aagl.nixosModules.default
|
||||||
topInputs.nixvirt.nixosModules.default
|
topInputs.nixvirt.nixosModules.default
|
||||||
(inputs:
|
(inputs:
|
||||||
@@ -19,7 +19,7 @@ inputs: let inherit (inputs) topInputs; in
|
|||||||
home-manager.sharedModules =
|
home-manager.sharedModules =
|
||||||
[
|
[
|
||||||
topInputs.plasma-manager.homeManagerModules.plasma-manager
|
topInputs.plasma-manager.homeManagerModules.plasma-manager
|
||||||
topInputs.catppuccin.homeManagerModules.catppuccin
|
topInputs.catppuccin.homeModules.catppuccin
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ inputs:
|
|||||||
(inputs.pkgs.runCommand "winapps-windows" {}
|
(inputs.pkgs.runCommand "winapps-windows" {}
|
||||||
''
|
''
|
||||||
mkdir -p $out/share/applications
|
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
|
$out/share/applications/windows.desktop
|
||||||
'')
|
'')
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -35,11 +35,8 @@ inputs:
|
|||||||
WorkingDirectory = "/var/lib/fz-new-order";
|
WorkingDirectory = "/var/lib/fz-new-order";
|
||||||
ExecStart =
|
ExecStart =
|
||||||
let
|
let
|
||||||
src = inputs.pkgs.substituteAll
|
src = inputs.pkgs.replaceVars ./main.cpp
|
||||||
{
|
{ config_file = inputs.config.sops.templates."fz-new-order/config.json".path; };
|
||||||
src = ./main.cpp;
|
|
||||||
config_file = inputs.config.sops.templates."fz-new-order/config.json".path;
|
|
||||||
};
|
|
||||||
binary = inputs.pkgs.stdenv.mkDerivation
|
binary = inputs.pkgs.stdenv.mkDerivation
|
||||||
{
|
{
|
||||||
name = "fz-new-order";
|
name = "fz-new-order";
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ inputs:
|
|||||||
yakuake = rec
|
yakuake = rec
|
||||||
{
|
{
|
||||||
fileName = "org.kde.yakuake.desktop";
|
fileName = "org.kde.yakuake.desktop";
|
||||||
path = "${inputs.pkgs.yakuake}/share/applications/${fileName}";
|
path = "${inputs.pkgs.kdePackages.yakuake}/share/applications/${fileName}";
|
||||||
};
|
};
|
||||||
telegram = rec
|
telegram = rec
|
||||||
{
|
{
|
||||||
@@ -38,7 +38,7 @@ inputs:
|
|||||||
kmail = rec
|
kmail = rec
|
||||||
{
|
{
|
||||||
fileName = "org.kde.kmail2.desktop";
|
fileName = "org.kde.kmail2.desktop";
|
||||||
path = "${inputs.pkgs.kmail}/share/applications/${fileName}";
|
path = "${inputs.pkgs.kdePackages.kmail}/share/applications/${fileName}";
|
||||||
};
|
};
|
||||||
discord = rec
|
discord = rec
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ inputs:
|
|||||||
};
|
};
|
||||||
home.file.".local/share/konsole/Breeze.colorscheme".text = builtins.replaceStrings
|
home.file.".local/share/konsole/Breeze.colorscheme".text = builtins.replaceStrings
|
||||||
[ "Opacity=1" ] [ "Opacity=0.9\nBlur=true" ]
|
[ "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 =
|
environment.persistence."/nix/rootfs/current".users.chn.directories =
|
||||||
[ ".local/share/konsole" ".local/share/yakuake" ];
|
[ ".local/share/konsole" ".local/share/yakuake" ];
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
{ stdenv, lib, sbatchConfig ? null, runCommand, cmake, pkg-config, ftxui, biu }: stdenv.mkDerivation
|
||||||
stdenv, lib, sbatchConfig ? null, substituteAll, runCommand,
|
|
||||||
cmake, pkg-config, ftxui, biu
|
|
||||||
}:
|
|
||||||
stdenv.mkDerivation
|
|
||||||
{
|
{
|
||||||
name = "chn-bsub";
|
name = "chn-bsub";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
{
|
{ stdenv, src, cmake, pkg-config }: stdenv.mkDerivation
|
||||||
stdenv, src, cmake, pkg-config, substituteAll
|
|
||||||
}: stdenv.mkDerivation
|
|
||||||
{
|
{
|
||||||
name = "matplotplusplus";
|
name = "matplotplusplus";
|
||||||
inherit src;
|
inherit src;
|
||||||
|
|||||||
Reference in New Issue
Block a user