diff options
| author | polwex <polwex@sortug.com> | 2025-10-14 06:36:38 +0700 |
|---|---|---|
| committer | polwex <polwex@sortug.com> | 2025-10-14 06:36:38 +0700 |
| commit | c47302c9517d3d949bd6a3fbdfbda0eca3095eac (patch) | |
| tree | e339fd5fd40ae5e5bb42a384c5ebc1dcf0788752 /hosts/local/master/configuration.nix | |
| parent | a61c5db40ee85f98e6f40417c73ef10ca566aa19 (diff) | |
m
Diffstat (limited to 'hosts/local/master/configuration.nix')
| -rw-r--r-- | hosts/local/master/configuration.nix | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/hosts/local/master/configuration.nix b/hosts/local/master/configuration.nix index 2a3cc8a..7b883d3 100644 --- a/hosts/local/master/configuration.nix +++ b/hosts/local/master/configuration.nix @@ -6,10 +6,6 @@ inputs, ... }: let - old-pkgs = import inputs.nixpkgs-old { - system = pkgs.system; - config.allowUnfree = true; - }; in { imports = [ # Include the results of the hardware scan. @@ -17,8 +13,8 @@ in { ../../linux.nix ../../unfree.nix #../../android.nix - ../gui.nix - ../i3.nix + # ../gui.nix + # ../i3.nix # ../gnome.nix # ../wayland.nix ../nvidia.nix @@ -39,6 +35,8 @@ in { networking = { hostName = "master"; # Define your hostname. }; + environment.etc."X11/xorg.conf.d/20-nvidia.conf".source = ./xorg.conf; + services.xserver.displayManager.xserverArgs = ["-config ${./xorg.conf}"]; # Set your time zone. time.timeZone = "Asia/Bangkok"; @@ -52,6 +50,15 @@ in { services.tailscale = { enable = true; }; + #services.meilisearch = { + # enable = true; + #}; + + zramSwap = { + enable = true; + # algorithm = "zstd"; + # memoryPercent = 30; + }; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions @@ -61,15 +68,6 @@ in { # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # # - environment.systemPackages = [ - old-pkgs.vivaldi - # for AI IDE shit - # pkgs.nodejs - # pkgs.python312 - # pkgs.openrgb-with-all-plugins - ]; - environment.etc."X11/xorg.conf.d/20-nvidia.conf".source = ./xorg.conf; - services.xserver.displayManager.xserverArgs = ["-config ${./xorg.conf}"]; system.stateVersion = "23.11"; # Did you read the comment? #debugging segfaults |
