mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:59:23 +08:00
Compare commits
5 Commits
a624e98514
...
nixos-23.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 54469c6252 | |||
| 32fb050639 | |||
| 34f54d458a | |||
| 4d543b2140 | |||
| c043b74401 |
6
flake.lock
generated
6
flake.lock
generated
@@ -1215,11 +1215,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
"nixpkgs_4": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1700621824,
|
"lastModified": 1701326464,
|
||||||
"narHash": "sha256-6Gm4eN28kHM96Y4sao2CeSMg3rlviPAgFHfu7OVmdAw=",
|
"narHash": "sha256-WGt5wjvkzCgRVXCS7OHd6vyv2xX6RZDpZk5i/vxLc1U=",
|
||||||
"owner": "CHN-beta",
|
"owner": "CHN-beta",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "4d631ac5b2af635549d7cbdb16247928d77c848f",
|
"rev": "76376edf425b9ddc8fb71d5cc4d3a3cb4f2486f6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -212,7 +212,6 @@ inputs:
|
|||||||
customPkgs = with inputs.pkgs; [ zsh-nix-shell ];
|
customPkgs = with inputs.pkgs; [ zsh-nix-shell ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
ccache.enable = true;
|
|
||||||
command-not-found.enable = false;
|
command-not-found.enable = false;
|
||||||
adb.enable = true;
|
adb.enable = true;
|
||||||
gnupg.agent = { enable = true; enableSSHSupport = true; };
|
gnupg.agent = { enable = true; enableSSHSupport = true; };
|
||||||
@@ -324,7 +323,6 @@ inputs:
|
|||||||
))
|
))
|
||||||
(attrsToList servers)));
|
(attrsToList servers)));
|
||||||
};
|
};
|
||||||
nix.settings.extra-sandbox-paths = [ inputs.config.programs.ccache.cacheDir ];
|
|
||||||
nixpkgs.config =
|
nixpkgs.config =
|
||||||
{
|
{
|
||||||
permittedInsecurePackages = with inputs.pkgs;
|
permittedInsecurePackages = with inputs.pkgs;
|
||||||
@@ -358,7 +356,7 @@ inputs:
|
|||||||
# password and key management
|
# password and key management
|
||||||
bitwarden
|
bitwarden
|
||||||
# office
|
# office
|
||||||
unstablePackages.crow-translate zotero pandoc ydict
|
unstablePackages.crow-translate zotero pandoc ydict unstablePackages.logseq
|
||||||
# media
|
# media
|
||||||
mpv nomacs
|
mpv nomacs
|
||||||
# themes
|
# themes
|
||||||
@@ -395,6 +393,8 @@ inputs:
|
|||||||
feiskyer.chatgpt-copilot yukiuuh2936.vscode-modern-fortran-formatter wolframresearch.wolfram
|
feiskyer.chatgpt-copilot yukiuuh2936.vscode-modern-fortran-formatter wolframresearch.wolfram
|
||||||
njpipeorgan.wolfram-language-notebook brettm12345.nixfmt-vscode webfreak.debug
|
njpipeorgan.wolfram-language-notebook brettm12345.nixfmt-vscode webfreak.debug
|
||||||
gruntfuggly.todo-tree
|
gruntfuggly.todo-tree
|
||||||
|
# restrctured text
|
||||||
|
lextudio.restructuredtext trond-snekvik.simple-rst
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
@@ -546,7 +546,7 @@ inputs:
|
|||||||
];
|
];
|
||||||
_pythonPackages = [(pythonPackages: with pythonPackages;
|
_pythonPackages = [(pythonPackages: with pythonPackages;
|
||||||
[
|
[
|
||||||
phonopy tensorflow keras openai scipy scikit-learn jupyterlab
|
phonopy tensorflow keras openai scipy scikit-learn jupyterlab autograd
|
||||||
])];
|
])];
|
||||||
_prebuildPackages =
|
_prebuildPackages =
|
||||||
[
|
[
|
||||||
|
|||||||
@@ -33,7 +33,8 @@ inputs:
|
|||||||
(
|
(
|
||||||
mkConditional (nixpkgs.march != null)
|
mkConditional (nixpkgs.march != null)
|
||||||
{
|
{
|
||||||
programs.ccache.enable = true;
|
programs.ccache = { enable = true; cacheDir = "/var/lib/ccache"; };
|
||||||
|
nix.settings.extra-sandbox-paths = [ inputs.config.programs.ccache.cacheDir ];
|
||||||
nixpkgs =
|
nixpkgs =
|
||||||
{
|
{
|
||||||
hostPlatform = { system = "x86_64-linux"; gcc = { arch = nixpkgs.march; tune = nixpkgs.march; }; };
|
hostPlatform = { system = "x86_64-linux"; gcc = { arch = nixpkgs.march; tune = nixpkgs.march; }; };
|
||||||
|
|||||||
Reference in New Issue
Block a user