mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 23:59:07 +02:00
deck
This commit is contained in:
8
modules/hosts/deck/hardware.nix
Normal file
8
modules/hosts/deck/hardware.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.computer-nadine = { system, ... }: {
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||||
boot.kernelParams = [ "quiet" "splash" "boot.shell_on_fail" "loglevel=3" "rd.systemd.show_status=false" "rd.udev.log_level=3" "udev.log_priority=3" ];
|
||||
nixpkgs.hostPlatform = system;
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
};
|
||||
}
|
||||
26
modules/hosts/deck/imports.nix
Normal file
26
modules/hosts/deck/imports.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ inputs, config, ... }: {
|
||||
flake.nixosModules.computer-deck = { ... }: {
|
||||
imports = with inputs.self.nixosModules; [
|
||||
apps-sys-chrome
|
||||
apps-sys-vesktop
|
||||
base-sys-group
|
||||
desktop-sys-group
|
||||
disks-sys-singledisk
|
||||
gaming-sys-controller
|
||||
gaming-sys-jovian
|
||||
kde-sys-plasma
|
||||
kde-sys-plasma-apps
|
||||
kde-sys-sddm-deck
|
||||
security-sys-secureboot
|
||||
security-sys-sopsnix
|
||||
users-sys-deck
|
||||
];
|
||||
home-manager.users.deck.imports = with config.flake.homeModules; [
|
||||
apps-usr-vesktop-all
|
||||
base-usr-group
|
||||
gaming-usr-steam-all
|
||||
kde-usr-plasma-deck
|
||||
security-usr-sopsnix
|
||||
];
|
||||
};
|
||||
}
|
||||
6
modules/hosts/deck/nixosConfigurations.nix
Normal file
6
modules/hosts/deck/nixosConfigurations.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ inputs, ... }: {
|
||||
flake.nixosConfigurations."computer-deck" = inputs.self.lib.mkHost {
|
||||
system = "x86_64-linux";
|
||||
host = "computer-deck";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user