parent
baa13b21a1
commit
2c37b61a08
3 changed files with 53 additions and 37 deletions
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
hardware,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
|
@ -6,42 +7,34 @@
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
home-manager.users.daniel.home.stateVersion = "24.05";
|
networking = {
|
||||||
networking.hostName = "bigtower";
|
hostName = "bigtower";
|
||||||
networking.networkmanager.enable = true;
|
wifi = true;
|
||||||
|
};
|
||||||
|
|
||||||
imports = [
|
fileSystems."/" = {
|
||||||
{
|
device = "/dev/disk/by-uuid/5b6c2d65-2704-4ed1-b06d-5ee7110b3d28";
|
||||||
fileSystems."/" = {
|
fsType = "btrfs";
|
||||||
device = "/dev/disk/by-uuid/5b6c2d65-2704-4ed1-b06d-5ee7110b3d28";
|
options = [ "subvol=root" ];
|
||||||
fsType = "btrfs";
|
};
|
||||||
options = [ "subvol=root" ];
|
fileSystems."/nix" = {
|
||||||
};
|
device = "/dev/disk/by-uuid/5b6c2d65-2704-4ed1-b06d-5ee7110b3d28";
|
||||||
fileSystems."/nix" = {
|
fsType = "btrfs";
|
||||||
device = "/dev/disk/by-uuid/5b6c2d65-2704-4ed1-b06d-5ee7110b3d28";
|
options = [ "subvol=nix" ];
|
||||||
fsType = "btrfs";
|
};
|
||||||
options = [ "subvol=nix" ];
|
fileSystems."/home" = {
|
||||||
};
|
device = "/dev/disk/by-uuid/5b6c2d65-2704-4ed1-b06d-5ee7110b3d28";
|
||||||
fileSystems."/home" = {
|
fsType = "btrfs";
|
||||||
device = "/dev/disk/by-uuid/5b6c2d65-2704-4ed1-b06d-5ee7110b3d28";
|
options = [ "subvol=home" ];
|
||||||
fsType = "btrfs";
|
};
|
||||||
options = [ "subvol=home" ];
|
fileSystems."/boot" = {
|
||||||
};
|
device = "/dev/disk/by-uuid/CE80-4623";
|
||||||
fileSystems."/boot" = {
|
fsType = "vfat";
|
||||||
device = "/dev/disk/by-uuid/CE80-4623";
|
options = [
|
||||||
fsType = "vfat";
|
"fmask=0022"
|
||||||
options = [
|
"dmask=0022"
|
||||||
"fmask=0022"
|
];
|
||||||
"dmask=0022"
|
};
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
hardware.graphics.extraPackages = [
|
|
||||||
pkgs.amdvlk
|
|
||||||
pkgs.libvdpau-va-gl
|
|
||||||
pkgs.vaapiVdpau
|
|
||||||
];
|
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
# kernelPackages = pkgs.linuxPackages_zen;
|
# kernelPackages = pkgs.linuxPackages_zen;
|
||||||
|
@ -57,6 +50,12 @@
|
||||||
supportedFilesystems = [ "ntfs" ];
|
supportedFilesystems = [ "ntfs" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
imports = with hardware; [
|
||||||
|
common-cpu-amd
|
||||||
|
common-gpu-amd
|
||||||
|
common-pc-ssd
|
||||||
|
];
|
||||||
|
|
||||||
hardware.bluetooth = {
|
hardware.bluetooth = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# package = pkgs.bluez;
|
# package = pkgs.bluez;
|
||||||
|
@ -67,4 +66,18 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
powerManagement.cpuFreqGovernor = "performance";
|
||||||
|
|
||||||
|
programs.steam.enable = true;
|
||||||
|
lyte.desktop.enable = true;
|
||||||
|
|
||||||
|
home-manager.users.daniel = {
|
||||||
|
lyte.shell.enable = true;
|
||||||
|
lyte.desktop.enable = true;
|
||||||
|
slippi-launcher = {
|
||||||
|
enable = true;
|
||||||
|
isoPath = "${config.users.users.daniel.home}/../games/roms/dolphin/melee.iso";
|
||||||
|
launchMeleeOnPlay = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,5 +9,6 @@ in
|
||||||
thinker = host ./thinker.nix { };
|
thinker = host ./thinker.nix { };
|
||||||
htpc = stableHost ./htpc.nix { };
|
htpc = stableHost ./htpc.nix { };
|
||||||
router = stableHost ./router.nix { };
|
router = stableHost ./router.nix { };
|
||||||
|
bigtower = stableHost ./bigtower.nix { };
|
||||||
# arm-dragon = host ./dragon.nix { system = "aarch64-linux"; };
|
# arm-dragon = host ./dragon.nix { system = "aarch64-linux"; };
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,10 @@
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
system.stateVersion = "24.11";
|
system.stateVersion = "24.11";
|
||||||
networking.hostName = "dragon";
|
networking = {
|
||||||
|
hostName = "dragon";
|
||||||
|
wifi = true;
|
||||||
|
};
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
@ -44,7 +47,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.steam.enable = true;
|
programs.steam.enable = true;
|
||||||
networking.wifi.enable = true;
|
|
||||||
lyte.desktop.enable = true;
|
lyte.desktop.enable = true;
|
||||||
|
|
||||||
home-manager.users.daniel = {
|
home-manager.users.daniel = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue