From c75ebd412973d43193ccb9620864ede4013e1c6f Mon Sep 17 00:00:00 2001 From: ImExtends Date: Wed, 20 May 2020 15:35:48 +0100 Subject: [PATCH] Add Asus TUF FX504GD --- README.md | 2 ++ asus/fx504gd/default.nix | 10 ++++++++++ flake.nix | 1 + 3 files changed, 13 insertions(+) create mode 100644 asus/fx504gd/default.nix diff --git a/README.md b/README.md index b6eff65..cab9730 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,7 @@ See code for all available configurations. | Apple MacBook Air 6,X | `` | | [Apple MacBook Pro 10,1][] | `` | | Apple MacBook Pro 12,1 | `` | +| Asus TUF FX504GD | `` | | BeagleBoard PocketBeagle | `` | | Dell Latitude 3480 | `` | | [Dell XPS E7240][] | `` | @@ -128,6 +129,7 @@ See code for all available configurations. | [Tuxedo InfinityBook v4][] | `` | [Acer Aspire 4810T]: acer/aspire/4810t +[Asus TUF FX504GD]: asus/fx504gd [Apple MacBook Pro 10,1]: apple/macbook-pro/10-1 [Dell XPS E7240]: dell/e7240 [Dell XPS 13 7390]: dell/xps/13-7390 diff --git a/asus/fx504gd/default.nix b/asus/fx504gd/default.nix new file mode 100644 index 0000000..4513250 --- /dev/null +++ b/asus/fx504gd/default.nix @@ -0,0 +1,10 @@ +{ ... }: +{ + imports = [ + ../../common/cpu/intel + ../../common/pc/laptop + ]; + + #Nouveau doesn't work at all on this model. + boot.kernelParams = [ "nouveau.modeset=0" ]; +} diff --git a/flake.nix b/flake.nix index b6e6718..317ddda 100644 --- a/flake.nix +++ b/flake.nix @@ -4,6 +4,7 @@ outputs = { self }: { nixosModules = { dell-aspire-4810t = import ./acer/aspire/4810t; + asus-fx504gd = import ./asus/fx504gd; apple-macbook-air-3 = import ./apple/macbook-air/3; apple-macbook-air-4 = import apple/macbook-air/4; apple-macbook-air-6 = import apple/macbook-air/6;