nix-config/q
2024-03-14 20:59:51 -07:00

4.1 KiB

commit 72e17f8ca37c1a0c711c6114cfc3cd06c59e29f9 (HEAD -> main, origin/main)
Author: Jet Pham <55770902+jetpham@users.noreply.github.com>
Date: Thu Mar 14 19:09:41 2024 -0700
 
fixing warning
 
diff --git a/flake.lock b/flake.lock
index 177441e..d671653 100644
--- a/flake.lock
+++ b/flake.lock
@@ -7,32 +7,32 @@
]
},
"locked": {
- "lastModified": 1685599623,
- "narHash": "sha256-Tob4CMOVHue0D3RzguDBCtUmX5ji2PsdbQDbIOIKvsc=",
+ "lastModified": 1706981411,
+ "narHash": "sha256-cLbLPTL1CDmETVh4p0nQtvoF+FSEjsnJTFpTxhXywhQ=",
"owner": "nix-community",
"repo": "home-manager",
- "rev": "93db05480c0c0f30382d3e80779e8386dcb4f9dd",
+ "rev": "652fda4ca6dafeb090943422c34ae9145787af37",
"type": "github"
},
"original": {
"owner": "nix-community",
- "ref": "release-23.05",
+ "ref": "release-23.11",
"repo": "home-manager",
"type": "github"
}
},
"nixpkgs": {
"locked": {
- "lastModified": 1686431482,
- "narHash": "sha256-oPVQ/0YP7yC2ztNsxvWLrV+f0NQ2QAwxbrZ+bgGydEM=",
+ "lastModified": 1709703039,
+ "narHash": "sha256-6hqgQ8OK6gsMu1VtcGKBxKQInRLHtzulDo9Z5jxHEFY=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "d3bb401dcfc5a46ce51cdfb5762e70cc75d082d2",
+ "rev": "9df3e30ce24fd28c7b3e2de0d986769db5d6225d",
"type": "github"
},
"original": {
"owner": "nixos",
- "ref": "nixos-23.05",
+ "ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
diff --git a/flake.nix b/flake.nix
index d4eb038..f2544b4 100644
--- a/flake.nix
+++ b/flake.nix
@@ -3,10 +3,10 @@
 
inputs = {
# Nixpkgs
- nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
+ nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
 
# Home manager
- home-manager.url = "github:nix-community/home-manager/release-23.05";
+ home-manager.url = "github:nix-community/home-manager/release-23.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
 
# TODO: Add any other flake you might need
diff --git a/home-manager/home.nix b/home-manager/home.nix
index 8251f04..0e13b11 100644
--- a/home-manager/home.nix
+++ b/home-manager/home.nix
@@ -45,7 +45,7 @@
 
xresources.properties = {
"Xcursor.size" = 16;
- "Xft.dpi" = 172;
+ "Xft.dpi" = 200;
};
 
home.packages = with pkgs; [
@@ -111,5 +111,4 @@
 
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "23.05";
- programs.home-manager.enable = true;
}
diff --git a/nixos/configuration.nix b/nixos/configuration.nix
index 2e109a0..dc9aa32 100644
--- a/nixos/configuration.nix
+++ b/nixos/configuration.nix
@@ -14,7 +14,7 @@
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
 
- networking.hostName = "nixos"; # Define your hostname.
+ networking.hostName = "laptop"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
 
# Configure network proxy if necessary
@@ -50,9 +50,9 @@
services.xserver.desktopManager.plasma5.enable = true;
 
# Configure keymap in X11
- services.xserver = {
+ services.xserver.xkb = {
layout = "us";
- xkbVariant = "";
+ variant = "";
};
 
# Enable CUPS to print documents.