From 4db112cacafffbd89e65a01c9c0da3a0f8b89888 Mon Sep 17 00:00:00 2001 From: blaknull Date: Thu, 9 Jan 2025 11:12:31 -0600 Subject: [PATCH] fine tuning --- home-manager/dotfiles/hypr/main.conf | 3 +- home-manager/packages/scripts/default.nix | 8 +-- .../configuration/laptop/default.nix | 51 ++++++++++++++++++- 3 files changed, 56 insertions(+), 6 deletions(-) diff --git a/home-manager/dotfiles/hypr/main.conf b/home-manager/dotfiles/hypr/main.conf index d512365..6dbd3f5 100644 --- a/home-manager/dotfiles/hypr/main.conf +++ b/home-manager/dotfiles/hypr/main.conf @@ -11,7 +11,8 @@ #------------------------------------------------# -monitor=HEADLESS-2,1920x1080@60,0x0,1 +#monitor=HEADLESS-2,1920x1080@60,0x0,1 +monitor=eDP-1,1920x1080@60,0x0,1 exec-once=onSystemStart diff --git a/home-manager/packages/scripts/default.nix b/home-manager/packages/scripts/default.nix index 1b25055..e1a336f 100644 --- a/home-manager/packages/scripts/default.nix +++ b/home-manager/packages/scripts/default.nix @@ -79,11 +79,11 @@ ags & pypr & lxqt-policykit-agent & - nmcli device wifi connect EagleNet password '~?C#@ZiH' & + # nmcli device wifi connect EagleNet password '~?C#@ZiH' & hyprctl setcursor Bibata-Modern-Classic 16 & - wayvnc & - hyprctl reload & - novnc & + # wayvnc & + # hyprctl reload & + # novnc & '') (pkgs.writeShellScriptBin "colorPrefix" '' diff --git a/system-config/configuration/laptop/default.nix b/system-config/configuration/laptop/default.nix index f2f2d8d..1b76510 100644 --- a/system-config/configuration/laptop/default.nix +++ b/system-config/configuration/laptop/default.nix @@ -33,7 +33,7 @@ powerManagement.finegrained = false; open = false; nvidiaSettings = true; - package = config.boot.kernelPackages.nvidiaPackages.beta; + package = config.boot.kernelPackages.nvidiaPackages.stable; prime = { # Make sure to use the correct Bus ID values for your system! @@ -121,4 +121,53 @@ system.stateVersion = "23.05"; # Did you read the comment? + # Set your time zone. + time.timeZone = "America/Chicago"; + + # Select internationalisation properties. + i18n.defaultLocale = "en_US.UTF-8"; + + i18n.extraLocaleSettings = { + LC_ADDRESS = "en_US.UTF-8"; + LC_IDENTIFICATION = "en_US.UTF-8"; + LC_MEASUREMENT = "en_US.UTF-8"; + LC_MONETARY = "en_US.UTF-8"; + LC_NAME = "en_US.UTF-8"; + LC_NUMERIC = "en_US.UTF-8"; + LC_PAPER = "en_US.UTF-8"; + LC_TELEPHONE = "en_US.UTF-8"; + LC_TIME = "en_US.UTF-8"; + }; + + networking = { + hostName = "laptop"; + nameservers = [ "1.1.1.1" "1.0.0.1" ]; + networkmanager.enable = true; + #firewall.allowedTCPPorts = [ 22 80 443 ]; + }; + + + users.users."nathan" = { + isNormalUser = true; + initialPassword = "7567"; + #hashedPasswordFile = config.sops.secrets."nathan/pass".path; + extraGroups = [ + "wheel" + "podman" + ]; # Enable ‘sudo’ for the user. + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAsU69CxfQk58CvItPN426h5Alnpb60SH37wet97Vb57 nathan@laptop" + ]; + }; + + nix = { + nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; + settings = { + experimental-features = [ "nix-command" "flakes" ]; + }; + }; + + fonts.packages = with pkgs; [ nerdfonts ]; + + }