Browse Source

all: update

main
Dustin Frisch 2 weeks ago
parent
commit
cc21d22565
No known key found for this signature in database GPG Key ID: B4C3BF012D9B26BE
  1. 27
      client/desktop.nix
  2. 21
      client/gpu.nix
  3. 19
      client/hardware.nix
  4. 52
      client/programs.nix
  5. 8
      flake.lock
  6. 2
      flake.nix

27
client/desktop.nix

@ -6,15 +6,11 @@
enable = true;
displayManager = {
lightdm = {
gdm = {
enable = true;
greeters.slick.enable = true;
wayland = true;
extraSeatDefaults = ''
greeter-show-manual-login=true
greeter-hide-users=true
allow-guest=false
'';
autoSuspend = false;
};
};
@ -31,7 +27,6 @@
};
displayManager = {
defaultSession = "gnome";
logToFile = true;
};
@ -47,9 +42,9 @@
epiphany
gnome-online-accounts-gtk
gnome-tour
gnome.geary
gnome.gnome-calendar
gnome.gnome-contacts
geary
gnome-calendar
gnome-contacts
xterm
];
@ -68,6 +63,16 @@
};
}
];
profiles.gdm.databases = [
{
settings = {
"org/gnome/login-screen" = {
disable-user-list = true;
};
};
}
];
};
}

21
client/gpu.nix

@ -1,16 +1,21 @@
{ config, ... }:
{
hardware.opengl = {
enable = true;
driSupport32Bit = true;
};
hardware = {
graphics = {
enable = true;
enable32Bit = true;
};
nvidia = {
open = true;
modesetting.enable = true;
powerManagement.enable = false;
hardware.nvidia = {
modesetting.enable = true;
powerManagement.enable = false;
package = config.boot.kernelPackages.nvidiaPackages.stable;
};
package = config.boot.kernelPackages.nvidiaPackages.stable;
};
services.xserver.videoDrivers = [ "nvidia" ];

19
client/hardware.nix

@ -12,11 +12,11 @@
grub.enable = true;
};
#consoleLogLevel = 3;
consoleLogLevel = 3;
initrd = {
#systemd.enable = true;
#verbose = true;
systemd.enable = true;
verbose = true;
availableKernelModules = [
"xhci_pci"
"ahci"
@ -28,15 +28,14 @@
kernelModules = [ "kvm-intel" ];
kernelParams = [
#"quiet"
#"udev.log_level=3"
"log_level=4"
"quiet"
"udev.log_level=3"
];
#plymouth = {
# enable = true;
# theme = "bgrt";
#};
plymouth = {
enable = true;
theme = "bgrt";
};
};
hardware.enableRedistributableFirmware = true;

52
client/programs.nix

@ -1,19 +1,25 @@
{ pkgs, ... }:
{ pkgs, lib, ... }:
with lib;
{
programs = {
vim.defaultEditor = true;
# zsh = {
# enable = true;
# autosuggestions.enable = true;
# syntaxHighlighting.enable = true;
# };
vim = {
enable = true;
defaultEditor = true;
};
chromium.enable = true;
firefox.enable = true;
fish.enable = true;
git.enable = true;
htop.enable = true;
mtr.enable = true;
appimage = {
enable = true;
binfmt = true;
};
};
environment.systemPackages = with pkgs; [
@ -23,6 +29,38 @@
fd
ripgrep
vscode
vim
tmux
wget
curl
perl
nano
bash
git
autoconf
automake
pkg-config
coreutils
flex
gcc
gdb
gnumake
openmpi
hwloc
postgresql
(getDev postgresql)
(getLib postgresql)
python3
qt5.full
rstudio
quarto
conda
];
}

8
flake.lock

@ -361,16 +361,16 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1730963269,
"narHash": "sha256-rz30HrFYCHiWEBCKHMffHbMdWJ35hEkcRVU0h7ms3x0=",
"lastModified": 1731755305,
"narHash": "sha256-v5P3dk5JdiT+4x69ZaB18B8+Rcu3TIOrcdG4uEX7WZ8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "83fb6c028368e465cd19bb127b86f971a5e41ebc",
"rev": "057f63b6dc1a2c67301286152eb5af20747a9cb4",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-24.05",
"ref": "nixos-24.11",
"repo": "nixpkgs",
"type": "github"
}

2
flake.nix

@ -1,6 +1,6 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";

Loading…
Cancel
Save