changed
didnt really want to move them back again
This commit is contained in:
parent
d96c914844
commit
42aeaf54c8
5 changed files with 43 additions and 28 deletions
|
|
@ -38,6 +38,7 @@
|
||||||
home.enableNixpkgsReleaseCheck = false;
|
home.enableNixpkgsReleaseCheck = false;
|
||||||
|
|
||||||
# TODO: move these somewhere else; undecided
|
# TODO: move these somewhere else; undecided
|
||||||
#home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
#];
|
nvtopPackages.full
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
hyprlanddots,
|
hyprlanddots,
|
||||||
nvimDotfiles,
|
nvimDots,
|
||||||
dankMaterialShell,
|
dankMaterialShell,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
umask 022
|
umask 022
|
||||||
repo=${lib.escapeShellArg hyprlanddots}
|
repo=${lib.escapeShellArg hyprlanddots}
|
||||||
nvimrepo=${lib.escapeShellArg nvimDotfiles}
|
nvimrepo=${lib.escapeShellArg nvimDots}
|
||||||
dmsConfig="${dankMaterialShell}/etc/xdg/quickshell/dms"
|
dmsConfig="${dankMaterialShell}/etc/xdg/quickshell/dms"
|
||||||
mkdir -p "${config.xdg.configHome}"
|
mkdir -p "${config.xdg.configHome}"
|
||||||
copy_dir() {
|
copy_dir() {
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,6 @@
|
||||||
yazi
|
yazi
|
||||||
chafa
|
chafa
|
||||||
btop
|
btop
|
||||||
nvtopPackages.full
|
fastfetch
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@
|
||||||
}: {
|
}: {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
ghostty
|
ghostty
|
||||||
fastfetch
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.ghostty = {
|
programs.ghostty = {
|
||||||
|
|
|
||||||
|
|
@ -1,30 +1,45 @@
|
||||||
{...}: {
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
programs.nix-index.enable = true;
|
programs.nix-index.enable = true;
|
||||||
programs.command-not-found.enable = false;
|
programs.command-not-found.enable = false;
|
||||||
|
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
max-jobs = "auto";
|
max-jobs =
|
||||||
cores = 0;
|
if config.networking.hostName == "magus"
|
||||||
|
then 1
|
||||||
|
else "auto";
|
||||||
|
cores =
|
||||||
|
if config.networking.hostName == "magus"
|
||||||
|
then 1
|
||||||
|
else 0;
|
||||||
experimental-features = ["nix-command" "flakes"];
|
experimental-features = ["nix-command" "flakes"];
|
||||||
substituters = [
|
substituters =
|
||||||
"https://cache.nixos.org"
|
[
|
||||||
"https://nix-gaming.cachix.org"
|
"https://cache.nixos.org"
|
||||||
"https://ghostty.cachix.org"
|
"https://nix-community.cachix.org"
|
||||||
"https://hyprland.cachix.org"
|
]
|
||||||
"https://nix-community.cachix.org"
|
++ lib.optionals (config.networking.hostName != "magus") [
|
||||||
"https://cache.nixos-cuda.org"
|
"https://nix-gaming.cachix.org"
|
||||||
"https://ezkea.cachix.org"
|
"https://ghostty.cachix.org"
|
||||||
];
|
"https://hyprland.cachix.org"
|
||||||
trusted-public-keys = [
|
"https://cache.nixos-cuda.org"
|
||||||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
"https://ezkea.cachix.org"
|
||||||
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
|
];
|
||||||
"ghostty.cachix.org-1:QB389yTa6gTyneehvqG58y0WnHjQOqgnA+wBnpWWxns="
|
trusted-public-keys =
|
||||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
[
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||||
"cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
"ezkea.cachix.org-1:ioBmUbJTZIKsHmWWXPe1FSFbeVe+afhfgqgTSNd34eI="
|
]
|
||||||
];
|
++ lib.optionals (config.networking.hostName != "magus") [
|
||||||
|
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
|
||||||
|
"ghostty.cachix.org-1:QB389yTa6gTyneehvqG58y0WnHjQOqgnA+wBnpWWxns="
|
||||||
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||||
|
"cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M="
|
||||||
|
"ezkea.cachix.org-1:ioBmUbJTZIKsHmWWXPe1FSFbeVe+afhfgqgTSNd34eI="
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue