From 3cd724436b68a91397b67a7712cff12097450b9e Mon Sep 17 00:00:00 2001 From: k Date: Mon, 24 Nov 2025 09:18:43 -0500 Subject: [PATCH 1/4] useing gnome --- hosts/laptop/configuration.nix | 25 +++++++++++++------------ hosts/laptop/home.nix | 2 ++ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index a878c21..9eb460a 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -4,7 +4,7 @@ inputs, ... }: { - imports = [./hardware-configuration.nix]; + imports = [./hardware-configuration.nix ]; nixpkgs.config.allowUnfree = true; system.autoUpgrade.enable = true; @@ -27,8 +27,8 @@ gc.automatic = false; settings = { experimental-features = ["nix-command" "flakes"]; - substituters = ["http://nix.dhilton.xyz/" "https://cache.nixos.org/"]; - trusted-public-keys = ["nix.dhilton.xyz:MOW060dF1A0/UXmPZBue9KMxCO13PHYFwx1X9hcdYZ4="]; + #substituters = ["http://nix.dhilton.xyz/" "https://cache.nixos.org/"]; + #trusted-public-keys = ["nix.dhilton.xyz:MOW060dF1A0/UXmPZBue9KMxCO13PHYFwx1X9hcdYZ4="]; }; }; @@ -54,12 +54,13 @@ }; services = { - hardware.bolt = {enable = false;}; - displayManager.sddm = { - enable = true; - wayland.enable = true; + hardware.bolt = {enable = true;}; + xserver = { + displayManager.gdm.enable = true; + desktopManager.gnome.enable = true; }; - desktopManager.plasma6.enable = true; + gnome.core-apps.enable = false; + pipewire = { enable = true; alsa.enable = true; @@ -85,13 +86,13 @@ lidSwitchExternalPower = "suspend"; }; avahi = { - enable = true; + enable = false; nssmdns4 = true; - openFirewall = true; # If you have a firewall enabled + openFirewall = true; }; blueman.enable = true; - fwupd.enable = false; + fwupd.enable = true; printing.enable = true; fprintd.enable = true; thermald.enable = true; @@ -166,7 +167,7 @@ }; systemd.sleep.extraConfig = '' - HibernateDelaySec=30m + HibernateDelaySec=20m SuspendState=mem ''; diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index b1fb75f..b3d4bfb 100644 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -6,6 +6,7 @@ }: { imports = [ ../home/home_common.nix + ../home/gnome.nix ]; nixpkgs.config.allowUnfree = true; @@ -19,6 +20,7 @@ blender vesktop spotify + alacritty btop zip From c78505aa09e4eb801c69cb4009b5246d86830b40 Mon Sep 17 00:00:00 2001 From: k Date: Wed, 3 Dec 2025 12:39:39 -0500 Subject: [PATCH 2/4] enable virt --- hosts/laptop/configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index 9eb460a..2f83a4f 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -144,6 +144,12 @@ programs = { zsh.enable = true; + virt-manager.enable = true; + }; + + virtualisation = { + libvirtd = {enable = true;}; + kvmgt = {enable = true;}; }; users.users.k = { From f17f1de5227b30533337d9879720df0e43c315e6 Mon Sep 17 00:00:00 2001 From: k Date: Wed, 3 Dec 2025 12:39:53 -0500 Subject: [PATCH 3/4] spesify more emacs --- hosts/laptop/home.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index b3d4bfb..6796509 100644 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -44,7 +44,7 @@ emacs = { enable = true; - package = pkgs.emacs-pgtk; + package = pkgs.emacs-pgtk.override{withTreeSitter=true; withNativeCompilation=true;}; extraPackages = epkgs: [ epkgs.vterm ]; @@ -62,7 +62,6 @@ emacs = { enable = true; defaultEditor = true; - package = pkgs.emacs-pgtk; }; }; stylix = { From 0fc551c8c59311763bd501cb1bc216ae9d75d934 Mon Sep 17 00:00:00 2001 From: k Date: Wed, 3 Dec 2025 12:40:09 -0500 Subject: [PATCH 4/4] update --- flake.lock | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/flake.lock b/flake.lock index d4e6965..7219546 100644 --- a/flake.lock +++ b/flake.lock @@ -21,16 +21,17 @@ "base16-fish": { "flake": false, "locked": { - "lastModified": 1622559957, - "narHash": "sha256-PebymhVYbL8trDVVXxCvZgc0S5VxI7I1Hv4RMSquTpA=", + "lastModified": 1754405784, + "narHash": "sha256-l9xHIy+85FN+bEo6yquq2IjD1rSg9fjfjpyGP1W8YXo=", "owner": "tomyun", "repo": "base16-fish", - "rev": "2f6dd973a9075dabccd26f1cded09508180bf5fe", + "rev": "23ae20a0093dca0d7b39d76ba2401af0ccf9c561", "type": "github" }, "original": { "owner": "tomyun", "repo": "base16-fish", + "rev": "23ae20a0093dca0d7b39d76ba2401af0ccf9c561", "type": "github" } }, @@ -142,11 +143,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1753592768, - "narHash": "sha256-oV695RvbAE4+R9pcsT9shmp6zE/+IZe6evHWX63f2Qg=", + "lastModified": 1763992789, + "narHash": "sha256-WHkdBlw6oyxXIra/vQPYLtqY+3G8dUVZM8bEXk0t8x4=", "owner": "nix-community", "repo": "home-manager", - "rev": "fc3add429f21450359369af74c2375cb34a2d204", + "rev": "44831a7eaba4360fb81f2acc5ea6de5fde90aaa3", "type": "github" }, "original": { @@ -158,11 +159,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1753122741, - "narHash": "sha256-nFxE8lk9JvGelxClCmwuJYftbHqwnc01dRN4DVLUroM=", + "lastModified": 1762847253, + "narHash": "sha256-BWWnUUT01lPwCWUvS0p6Px5UOBFeXJ8jR+ZdLX8IbrU=", "owner": "nixos", "repo": "nixos-hardware", - "rev": "cc66fddc6cb04ab479a1bb062f4d4da27c936a22", + "rev": "899dc449bc6428b9ee6b3b8f771ca2b0ef945ab9", "type": "github" }, "original": { @@ -190,11 +191,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1753489912, - "narHash": "sha256-uDCFHeXdRIgJpYmtcUxGEsZ+hYlLPBhR83fdU+vbC1s=", + "lastModified": 1763622513, + "narHash": "sha256-1jQnuyu82FpiSxowrF/iFK6Toh9BYprfDqfs4BB+19M=", "owner": "nixos", "repo": "nixpkgs", - "rev": "13e8d35b7d6028b7198f8186bc0347c6abaa2701", + "rev": "c58bc7f5459328e4afac201c5c4feb7c818d604b", "type": "github" }, "original": { @@ -273,11 +274,11 @@ "tinted-zed": "tinted-zed" }, "locked": { - "lastModified": 1753733105, - "narHash": "sha256-zxAiwoYqjesNbV46vGZe9ONvazQDPswnHfhsvvzqkU4=", + "lastModified": 1763845106, + "narHash": "sha256-S3HH655nydKoLTuqX8qcJidZH0PiWGB/YcoPomH1DaQ=", "owner": "danth", "repo": "stylix", - "rev": "8340949b7cba126b6939ae588e6619f8e23bba9d", + "rev": "b9b8173a6e31c6d06f328307ddbdf7d6af82b7ad", "type": "github" }, "original": {