From 558b28e15ff24fc4594b82d8f18cc79e0f5e214d Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Fri, 24 May 2024 23:46:08 +0200 Subject: [PATCH] Clean up --- README.md | 1 + hosts/nixos-test/default.nix | 1 + hosts/perso-desktop/default.nix | 12 ------------ modules/plasma.nix | 6 +++--- modules/system.nix | 4 ---- 5 files changed, 5 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 983ed12..df085b3 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,7 @@ nixd is not up to date and require nix 2.16.2 - https://hydra.nixos.org/job/nixos/trunk-combined/tested#tabs-constituents - https://nixpk.gs/pr-tracker.html - https://mobile.nixos.org/ +- https://nixos.wiki/wiki/Build_flags # Sources diff --git a/hosts/nixos-test/default.nix b/hosts/nixos-test/default.nix index 2c68260..e45767e 100644 --- a/hosts/nixos-test/default.nix +++ b/hosts/nixos-test/default.nix @@ -7,6 +7,7 @@ { imports = [ + ../../modules/linux_gaming.nix ../../modules/system.nix ../../modules/network.nix ../../modules/keymaps/us.nix diff --git a/hosts/perso-desktop/default.nix b/hosts/perso-desktop/default.nix index 129c2b2..8bb5d4c 100644 --- a/hosts/perso-desktop/default.nix +++ b/hosts/perso-desktop/default.nix @@ -16,7 +16,6 @@ ../../modules/bluetooth.nix ../../modules/pipewire.nix ../../modules/plymouth.nix - ../../modules/docker.nix ../../modules/waydroid.nix ../../modules # Import optional configuration @@ -30,15 +29,4 @@ boot.loader.efi.canTouchEfiVariables = true; networking.hostName = "nixos-desktop-perso"; # Define your hostname. - - # https://nixos.wiki/wiki/Build_flags - # nixpkgs.hostPlatform = { - # gcc.arch = "x86-64-v3"; - # gcc.tune = "x86-64-v3"; - # system = "x86_64-linux"; - # }; - - environment.variables = { - NIX_BUILD_CORES = 16; - }; } diff --git a/modules/plasma.nix b/modules/plasma.nix index 835dfdc..d946d17 100644 --- a/modules/plasma.nix +++ b/modules/plasma.nix @@ -18,7 +18,7 @@ ]; # Uncomment when kwin is available in nixpkgs and NVIDIA 555 - # nixpkgs.overlays = [ - # (import ../overlays/kwin) - # ]; + nixpkgs.overlays = [ + (import ../overlays/kwin) + ]; } diff --git a/modules/system.nix b/modules/system.nix index 47a6898..1fb4b8b 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -32,10 +32,6 @@ wayland-utils # For wayland-info command glxinfo clinfo - - # distrobox (testing) - distrobox - boxbuddy ]; # Define a user account. Don't forget to set a password with ‘passwd’.