From 6c6ffb304ca4910cd4d3ecae7a59cda70539f82a Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Fri, 18 Jun 2021 09:04:53 -0400 Subject: [PATCH] updates, etc. --- flake.lock | 8 ++++---- flake.nix | 2 +- home.nix | 1 + hosts/p71.nix | 18 ++++++++++-------- 4 files changed, 16 insertions(+), 13 deletions(-) diff --git a/flake.lock b/flake.lock index dd008d2..dcb4828 100644 --- a/flake.lock +++ b/flake.lock @@ -467,17 +467,17 @@ }, "nixpkgs_6": { "locked": { - "lastModified": 1623324058, - "narHash": "sha256-Jm9GUTXdjXz56gWDKy++EpFfjrBaxqXlLvTLfgEi8lo=", + "lastModified": 1623580589, + "narHash": "sha256-Ayp1cjXpwFCkAiWUE46rj9APTltsiEBdIs2+cj+U7+c=", "owner": "nixos", "repo": "nixpkgs", - "rev": "432fc2d9a67f92e05438dff5fdc2b39d33f77997", + "rev": "fa0326ce5233f7d592271df52c9d0812bec47b84", "type": "github" }, "original": { "owner": "nixos", "repo": "nixpkgs", - "rev": "432fc2d9a67f92e05438dff5fdc2b39d33f77997", + "rev": "fa0326ce5233f7d592271df52c9d0812bec47b84", "type": "github" } }, diff --git a/flake.nix b/flake.nix index e7080a9..ef37815 100644 --- a/flake.nix +++ b/flake.nix @@ -6,7 +6,7 @@ # https://status.nixos.org/ # # This ensures that we always use the official # cache. - nixpkgs.url = "github:nixos/nixpkgs/432fc2d9a67f92e05438dff5fdc2b39d33f77997"; + nixpkgs.url = "github:nixos/nixpkgs/fa0326ce5233f7d592271df52c9d0812bec47b84"; nixos-hardware.url = github:NixOS/nixos-hardware/master; home-manager.url = "github:nix-community/home-manager"; diff --git a/home.nix b/home.nix index 4288592..56fe13c 100644 --- a/home.nix +++ b/home.nix @@ -26,6 +26,7 @@ rec { procs # no more: ps -ef | grep tealdeer zellij + dust # ^ easy to forget these; write SRS? ]; diff --git a/hosts/p71.nix b/hosts/p71.nix index 0a2f6cc..4ee0458 100644 --- a/hosts/p71.nix +++ b/hosts/p71.nix @@ -56,15 +56,14 @@ networking.interfaces.enp0s31f6.useDHCP = true; networking.interfaces.wlp4s0.useDHCP = true; - programs.mosh.enable = true; # Enable the X11 windowing system. services.xserver = { enable = true; videoDrivers = [ "nvidia" "intel" ]; + displayManager.gdm.enable = true; + desktopManager.gnome.enable = true; }; - services.xserver.displayManager.gdm.enable = true; - services.xserver.desktopManager.gnome.enable = true; services.openssh.enable = true; services.ipfs = { @@ -73,10 +72,9 @@ }; services.netdata.enable = true; - # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.srid = { - isNormalUser = true; - extraGroups = [ "wheel" "networkmanager" ]; + programs = { + mosh.enable = true; + steam.enable = true; }; # List packages installed in system profile. To search, run: @@ -97,7 +95,11 @@ vscode ]; - + # Define a user account. Don't forget to set a password with ‘passwd’. + users.users.srid = { + isNormalUser = true; + extraGroups = [ "wheel" "networkmanager" ]; + }; # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];