update inputs, bin cache for cuda, disable cachy kernel, various fixes
This commit is contained in:
@@ -40,6 +40,16 @@
|
||||
cudaSupport = true;
|
||||
nvidia.acceptLicense = true;
|
||||
};
|
||||
|
||||
nix.settings = {
|
||||
substituters = [
|
||||
"https://cache.nixos-cuda.org"
|
||||
];
|
||||
|
||||
trusted-public-keys = [
|
||||
"cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M="
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
"Downloads" = mkFolder "/home/bug/Downloads";
|
||||
"Pictures" = mkFolder "/home/bug/Pictures";
|
||||
"Videos" = mkFolder "/home/bug/Videos";
|
||||
"Music" = mkFolder "/home/bug/Music";
|
||||
# "Music" = mkFolder "/home/bug/Music";
|
||||
"nix" = mkFolder "/home/bug/nix";
|
||||
"hytale" = mkFolder "/home/bug/.local/share/Hytale/UserData/Saves";
|
||||
"ssh" = mkFolder "/home/bug/.ssh";
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
{ inputs, ... }: {
|
||||
den.aspects.kernel = {
|
||||
nixos = { pkgs, ... }: {
|
||||
nixpkgs.overlays = [ inputs.nix-cachyos-kernel.overlays.default ];
|
||||
nixpkgs.overlays = [ inputs.nix-cachyos-kernel.overlays.pinned ];
|
||||
|
||||
boot.kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest;
|
||||
# boot.kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest;
|
||||
|
||||
nix.settings.substituters = [ "https://attic.xuyh0120.win/lantian" ];
|
||||
nix.settings.trusted-public-keys = [ "lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc=" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
{ den, ... }: {
|
||||
den.aspects.common = {
|
||||
includes = with den.aspects; [
|
||||
den.default
|
||||
|
||||
cosmic
|
||||
audio
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
{ den, ... }: {
|
||||
den.aspects.nix = {
|
||||
includes = with den.aspects; [
|
||||
den.default
|
||||
|
||||
common
|
||||
|
||||
nvidia
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
{ den, ... }: {
|
||||
den.aspects.styx = {
|
||||
includes = with den.aspects; [
|
||||
den.default
|
||||
|
||||
common
|
||||
|
||||
amdgpu
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
systemd.services.glances-web = {
|
||||
description = "glances web interface";
|
||||
after = [ "network-online.target" ];
|
||||
#after = [ "network-online.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
serviceConfig = {
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
{
|
||||
{ inputs, ... }: {
|
||||
den.aspects.mailserver = {
|
||||
nixos = {
|
||||
imports = [
|
||||
(fetchTarball {
|
||||
url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/master.tar.gz";
|
||||
sha256 = "0mfc8xkpy6hrfwyhjjnfna8b54s2h01lzsw4mw3yym6ccacc75r8";
|
||||
})
|
||||
];
|
||||
imports = [ inputs.nixos-mailserver.nixosModules.default ];
|
||||
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
@@ -20,14 +15,20 @@
|
||||
mailserver = {
|
||||
enable = true;
|
||||
|
||||
stateVersion = 3;
|
||||
stateVersion = 4;
|
||||
|
||||
fqdn = "mail.bug.tools";
|
||||
domains = [ "bug.tools" ];
|
||||
|
||||
x509.useACMEHost = "mail.bug.tools";
|
||||
|
||||
loginAccounts = {
|
||||
fullTextSearch = {
|
||||
enable = true;
|
||||
autoIndex = true;
|
||||
fallback = false;
|
||||
};
|
||||
|
||||
accounts = {
|
||||
"bug@bug.tools" = {
|
||||
hashedPasswordFile = "/home/bug/mailserver/bug.passwd";
|
||||
aliases = [
|
||||
@@ -41,8 +42,6 @@
|
||||
"matrix@bug.tools"
|
||||
"git@bug.tools"
|
||||
"contact@bug.tools"
|
||||
"fc2@bug.tools"
|
||||
"counter@bug.tools"
|
||||
"claude@bug.tools"
|
||||
"rumble@bug.tools"
|
||||
];
|
||||
|
||||
@@ -16,8 +16,9 @@
|
||||
libXcursor
|
||||
libXrandr
|
||||
libXi
|
||||
libxcb
|
||||
]);
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
{ den, ... }: {
|
||||
den.aspects.gaming = {
|
||||
includes = with den.aspects; [ steam roblox polytoria game-tools emulators star-citizen minecraft ];
|
||||
includes = with den.aspects; [ steam roblox polytoria game-tools emulators
|
||||
#star-citizen
|
||||
minecraft ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user