signal on joe

This commit is contained in:
RingOfStorms (Josh) 2024-08-05 15:13:10 -05:00
parent fbe285ef02
commit 02a2157733
5 changed files with 32 additions and 6 deletions

View file

@ -65,7 +65,6 @@ in
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
# Basics
# neovim in TODO nix file in common, to split out into its own flake eventually
vim
wget
curl
@ -76,6 +75,7 @@ in
git
fzf
ripgrep
lsof
# TODO keep in common or move to specific machines, I want this for my pocket 3 video KDM module but I use ffmpeg on most machines anyways?
ffmpeg_5-full

View file

@ -1,10 +1,9 @@
{
config,
lib,
pkgs,
settings,
...
}@args:
}:
{
imports = [
# Common components this machine uses
@ -23,6 +22,12 @@
(settings.usersDir + "/josh/configuration.nix")
];
# test
networking.firewall.allowedTCPPorts = [
34733 # sshd
];
# machine specific configuration
# ==============================
hardware.enableAllFirmware = true;
@ -45,10 +50,23 @@
};
# Load nvidia driver for Xorg and Wayland
virtualisation.docker.enableNvidia = true;
virtualisation.docker = {
extraOptions = "--experimental";
enableNvidia = true;
extraOptions = ''
--experimental
--add-runtime=nvidia=${pkgs.nvidia-docker}/bin/nvidia-container-runtime
'';
};
environment.etc."docker/daemon.json".text = ''
{
"runtimes": {
"nvidia": {
"path": "${pkgs.nvidia-docker}/bin/nvidia-container-runtime",
"runtimeArgs": []
}
}
}
'';
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = {
# Modesetting is required.

View file

@ -47,6 +47,9 @@
host.address = "localhost";
}
];
setEnv = {
TERM = "vt100";
};
};
"l001" = {
identityFile = age.secrets.nix2l001.path;

View file

@ -0,0 +1,4 @@
{ pkgs, ... }:
{
home.packages = [ pkgs.signal-desktop ];
}

View file

@ -1,5 +1,6 @@
{ settings, pkgs, ... }:
{ pkgs, ... }:
{
home.packages = with pkgs; [ gnome.nautilus qimgv ];
}