hopper things
This commit is contained in:
parent
498f3050d5
commit
926f8b190b
14 changed files with 96 additions and 22 deletions
|
@ -21,6 +21,7 @@
|
|||
++ [
|
||||
./nixdesk
|
||||
"${mod}/programs/gamemode.nix"
|
||||
"${mod}/services/syncthing.nix"
|
||||
"${self}/secrets"
|
||||
{
|
||||
home-manager = {
|
||||
|
@ -33,8 +34,36 @@
|
|||
hopper = nixosSystem {
|
||||
inherit specialArgs;
|
||||
modules = [
|
||||
./core
|
||||
./core/boot.nix
|
||||
./hopper
|
||||
|
||||
"${self}/secrets"
|
||||
|
||||
"${mod}/core"
|
||||
|
||||
"${mod}/programs/home-manager.nix"
|
||||
|
||||
"${mod}/desktop"
|
||||
"${mod}/desktop/awesome.nix"
|
||||
|
||||
"${mod}/hardware/opengl.nix"
|
||||
"${mod}/hardware/steam-hardware.nix"
|
||||
"${mod}/hardware/bluetooth.nix"
|
||||
"${mod}/hardware/qmk.nix"
|
||||
|
||||
"${mod}/network/avahi.nix"
|
||||
"${mod}/network/networkd.nix"
|
||||
"${mod}/network/tailscale.nix"
|
||||
|
||||
"${mod}/services"
|
||||
"${mod}/services/pipewire.nix"
|
||||
"${mod}/services/syncthing.nix"
|
||||
|
||||
{
|
||||
home-manager = {
|
||||
users.xun.imports = homeImports."xun@hopper";
|
||||
extraSpecialArgs = specialArgs;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
{inputs}: {
|
||||
{inputs, ...}: {
|
||||
imports = with inputs.hardware.nixosModules; [
|
||||
common-cpu-intel
|
||||
common-pc-hdd
|
||||
common-gpu-nvidia
|
||||
|
||||
./hardware.nix
|
||||
];
|
||||
|
|
|
@ -1,4 +1,14 @@
|
|||
{...}: {
|
||||
{config, ...}: {
|
||||
nixpkgs.hostPlatform.system = "x86_64-linux";
|
||||
|
||||
## nvidia gpu
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = true;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
};
|
||||
|
||||
boot = {
|
||||
initrd = {
|
||||
availableKernelModules = ["ehci_pci" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
|
||||
networking.hostName = "nixdesk";
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
swapDevices = [];
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue