Move stuff back to AMD-Workstation
This commit is contained in:
parent
02f264263c
commit
6be480f310
@ -1,5 +1,16 @@
|
||||
{ inputs, ... }: {
|
||||
imports = [ ./hardware-configuration.nix inputs.self.nixosProfiles.desktop ];
|
||||
imports = with inputs.self.nixosModules; [
|
||||
./hardware-configuration.nix
|
||||
inputs.self.nixosProfiles.desktop
|
||||
gitea
|
||||
jitsi
|
||||
mailserver
|
||||
matrix-synapse
|
||||
minidlna
|
||||
nextcloud
|
||||
nginx
|
||||
vsftpd
|
||||
];
|
||||
deviceSpecific.devInfo = {
|
||||
cpu = {
|
||||
vendor = "amd";
|
||||
|
@ -2,15 +2,14 @@
|
||||
imports = with inputs.self.nixosModules; [
|
||||
./hardware-configuration.nix
|
||||
inputs.self.nixosProfiles.server
|
||||
gitea
|
||||
jitsi
|
||||
mailserver
|
||||
matrix-synapse
|
||||
minidlna
|
||||
nextcloud
|
||||
nginx
|
||||
vsftpd
|
||||
];
|
||||
|
||||
loader.raspberryPi = {
|
||||
enable = true;
|
||||
version = 3;
|
||||
};
|
||||
|
||||
deviceSpecific.devInfo = {
|
||||
cpu = {
|
||||
vendor = "broadcom";
|
||||
|
@ -4,20 +4,15 @@
|
||||
|
||||
loader.systemd-boot.enable = lib.mkIf (pkgs.system == "x86_64-linux") true;
|
||||
|
||||
# loader.raspberryPi = lib.mkIf (pkgs.system == "aarch64-linux") {
|
||||
# enable = true;
|
||||
# version = 4;
|
||||
# };
|
||||
|
||||
loader.grub.enable = false;
|
||||
|
||||
# kernelParams = [ "quiet" "scsi_mod.use_blk_mq=1" "modeset" "nofb" ]
|
||||
# ++ lib.optional (pkgs.system == "x86_64-linux") [
|
||||
# "rd.systemd.show_status=auto"
|
||||
# "rd.udev.log_priority=3"
|
||||
# "pti=off"
|
||||
# "spectre_v2=off"
|
||||
# ];
|
||||
kernelParams = [ "quiet" "scsi_mod.use_blk_mq=1" "modeset" "nofb" ]
|
||||
++ lib.optional (pkgs.system == "x86_64-linux") [
|
||||
"rd.systemd.show_status=auto"
|
||||
"rd.udev.log_priority=3"
|
||||
"pti=off"
|
||||
"spectre_v2=off"
|
||||
];
|
||||
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
|
@ -65,9 +65,6 @@ in {
|
||||
];
|
||||
dnsBlacklistOverrides = ''
|
||||
balsoft.ru OK
|
||||
${
|
||||
builtins.concatStringsSep " OK \n" (builtins.attrNames config.devices)
|
||||
} OK
|
||||
192.168.0.0/16 OK
|
||||
'';
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user