From 84c9619984750753b7fb0d54e9411ab9513be7d7 Mon Sep 17 00:00:00 2001 From: Benson Chu Date: Sun, 8 Sep 2024 13:33:51 -0500 Subject: [PATCH] Upgrade to 24.05, add chromium, start debug HA video drivers --- configuration.nix | 13 +++++++++++++ flake.lock | 22 +++++++++++----------- flake.nix | 4 ++-- 3 files changed, 26 insertions(+), 13 deletions(-) diff --git a/configuration.nix b/configuration.nix index 53d3a4c..80c28c1 100644 --- a/configuration.nix +++ b/configuration.nix @@ -54,6 +54,12 @@ in nscd.enable = true; blueman.enable = true; + xrdp = { + enable = true; + defaultWindowManager = "startplasma-x11"; + openFirewall = true; + }; + pipewire = { enable = true; alsa.enable = true; @@ -66,6 +72,7 @@ in displayManager.lightdm.enable = true; displayManager.startx.enable = true; desktopManager.plasma5.enable = true; + desktopManager.mate.enable = true; displayManager.defaultSession = "plasmawayland"; displayManager.autoLogin.enable = true; displayManager.autoLogin.user = "hodgson"; @@ -164,12 +171,14 @@ in emacs tmux unstablePkgs.signal-desktop + gcc # emacs dependencies ispell ripgrep cmake gnumake + libtool # browsers google-chrome @@ -198,5 +207,9 @@ in networking.firewall.allowedUDPPorts = [ ]; networking.firewall.enable = true; + networking.hosts = { + "10.0.0.142" = ["BRWBCF4D445BCC3.local"]; + }; + system.stateVersion = "23.11"; # Did you read the comment? } diff --git a/flake.lock b/flake.lock index 18a002d..1e27e6d 100644 --- a/flake.lock +++ b/flake.lock @@ -7,32 +7,32 @@ ] }, "locked": { - "lastModified": 1715381426, - "narHash": "sha256-wPuqrAQGdv3ISs74nJfGb+Yprm23U/rFpcHFFNWgM94=", + "lastModified": 1720042825, + "narHash": "sha256-A0vrUB6x82/jvf17qPCpxaM+ulJnD8YZwH9Ci0BsAzE=", "owner": "nix-community", "repo": "home-manager", - "rev": "ab5542e9dbd13d0100f8baae2bc2d68af901f4b4", + "rev": "e1391fb22e18a36f57e6999c7a9f966dc80ac073", "type": "github" }, "original": { "owner": "nix-community", - "ref": "release-23.11", + "ref": "release-24.05", "repo": "home-manager", "type": "github" } }, "nixpkgs": { "locked": { - "lastModified": 1716361217, - "narHash": "sha256-mzZDr00WUiUXVm1ujBVv6A0qRd8okaITyUp4ezYRgc4=", + "lastModified": 1725407940, + "narHash": "sha256-tiN5Rlg/jiY0tyky+soJZoRzLKbPyIdlQ77xVgREDNM=", "owner": "nixos", "repo": "nixpkgs", - "rev": "46397778ef1f73414b03ed553a3368f0e7e33c2f", + "rev": "6f6c45b5134a8ee2e465164811e451dcb5ad86e3", "type": "github" }, "original": { "owner": "nixos", - "ref": "nixos-23.11", + "ref": "nixos-24.05", "repo": "nixpkgs", "type": "github" } @@ -46,11 +46,11 @@ }, "unstable": { "locked": { - "lastModified": 1724224976, - "narHash": "sha256-Z/ELQhrSd7bMzTO8r7NZgi9g5emh+aRKoCdaAv5fiO0=", + "lastModified": 1725432240, + "narHash": "sha256-+yj+xgsfZaErbfYM3T+QvEE2hU7UuE+Jf0fJCJ8uPS0=", "owner": "nixos", "repo": "nixpkgs", - "rev": "c374d94f1536013ca8e92341b540eba4c22f9c62", + "rev": "ad416d066ca1222956472ab7d0555a6946746a80", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 9a9a6c8..c32007b 100644 --- a/flake.nix +++ b/flake.nix @@ -2,10 +2,10 @@ description = "NixOS configuration"; inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11"; + nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05"; unstable.url = "github:nixos/nixpkgs/nixos-unstable"; home-manager = { - url = "github:nix-community/home-manager/release-23.11"; + url = "github:nix-community/home-manager/release-24.05"; inputs.nixpkgs.follows = "nixpkgs"; }; };