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;
|
nixpkgs.config.allowUnfree = true;
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# Basics
|
# Basics
|
||||||
# neovim in TODO nix file in common, to split out into its own flake eventually
|
|
||||||
vim
|
vim
|
||||||
wget
|
wget
|
||||||
curl
|
curl
|
||||||
|
@ -76,6 +75,7 @@ in
|
||||||
git
|
git
|
||||||
fzf
|
fzf
|
||||||
ripgrep
|
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?
|
# 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
|
ffmpeg_5-full
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
settings,
|
settings,
|
||||||
...
|
...
|
||||||
}@args:
|
}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
# Common components this machine uses
|
# Common components this machine uses
|
||||||
|
@ -23,6 +22,12 @@
|
||||||
(settings.usersDir + "/josh/configuration.nix")
|
(settings.usersDir + "/josh/configuration.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# test
|
||||||
|
|
||||||
|
networking.firewall.allowedTCPPorts = [
|
||||||
|
34733 # sshd
|
||||||
|
];
|
||||||
|
|
||||||
# machine specific configuration
|
# machine specific configuration
|
||||||
# ==============================
|
# ==============================
|
||||||
hardware.enableAllFirmware = true;
|
hardware.enableAllFirmware = true;
|
||||||
|
@ -45,10 +50,23 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Load nvidia driver for Xorg and Wayland
|
# Load nvidia driver for Xorg and Wayland
|
||||||
virtualisation.docker.enableNvidia = true;
|
|
||||||
virtualisation.docker = {
|
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" ];
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
# Modesetting is required.
|
# Modesetting is required.
|
||||||
|
|
|
@ -47,6 +47,9 @@
|
||||||
host.address = "localhost";
|
host.address = "localhost";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
setEnv = {
|
||||||
|
TERM = "vt100";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
"l001" = {
|
"l001" = {
|
||||||
identityFile = age.secrets.nix2l001.path;
|
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 ];
|
home.packages = with pkgs; [ gnome.nautilus qimgv ];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue