signal on joe
This commit is contained in:
parent
fbe285ef02
commit
02a2157733
5 changed files with 32 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -47,6 +47,9 @@
|
|||
host.address = "localhost";
|
||||
}
|
||||
];
|
||||
setEnv = {
|
||||
TERM = "vt100";
|
||||
};
|
||||
};
|
||||
"l001" = {
|
||||
identityFile = age.secrets.nix2l001.path;
|
||||
|
|
4
users/josh/by_hosts/joe/home_manager/signal.nix
Normal file
4
users/josh/by_hosts/joe/home_manager/signal.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [ pkgs.signal-desktop ];
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
{ settings, pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [ gnome.nautilus qimgv ];
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue