-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: upgrade pc and migrated to linux gaming
- Loading branch information
Showing
15 changed files
with
112 additions
and
104 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,5 @@ | ||
{ lib, config, ... }: | ||
{ lib, ... }: | ||
with lib; | ||
{ | ||
networking = { | ||
interfaces.eno1.ipv4.addresses = mkIf config.hardware.virtualization.wittano.enableWindowsVM [ | ||
{ | ||
address = "192.168.1.180"; | ||
prefixLength = 24; | ||
} | ||
]; | ||
nameservers = [ "1.1.1.1" ]; | ||
defaultGateway = mkIf config.hardware.virtualization.wittano.enableWindowsVM { | ||
address = "192.168.1.1"; | ||
interface = "eno1"; | ||
}; | ||
dhcpcd.enable = mkForce true; | ||
}; | ||
networking.dhcpcd.enable = mkForce true; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ config, lib, ... }: | ||
with lib; | ||
with lib.my; | ||
let | ||
cfg = config.hardware.amd; | ||
in | ||
{ | ||
options.hardware.amd.enable = mkEnableOption "Enable nvidia drivers"; | ||
|
||
config = mkIf cfg.enable { | ||
services.xserver.videoDrivers = mkIf config.services.xserver.enable [ "amd" ]; | ||
|
||
boot.initrd.kernelModules = [ "amdgpu" ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
./bootloader.nix | ||
./docker.nix | ||
./nvidia.nix | ||
./amd.nix | ||
./printer.nix | ||
./samba.nix | ||
./pipewire.nix | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.