This commit is contained in:
Stefan Schwarz 2024-10-08 13:06:54 +02:00
parent 2a39913fde
commit 599d34d9cb
8 changed files with 28 additions and 27 deletions

View file

@ -30,6 +30,7 @@
time.timeZone = "Europe/Berlin"; time.timeZone = "Europe/Berlin";
services.openssh.enable = true; services.openssh.enable = true;
networking.firewall.enable = true; networking.firewall.enable = true;
nixpkgs.config.permittedInsecurePackages = [ nixpkgs.config.permittedInsecurePackages = [

View file

@ -1,7 +1,6 @@
{ pkgs, options, ... }: { pkgs, options, ... }:
let let
unstable = import <nixos-unstable> { config.allowUnfree = true; };
in { in {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
cryptsetup cryptsetup
@ -18,11 +17,12 @@ in {
whois whois
ipcalc ipcalc
unstable.argocd argocd
unstable.kubernetes-helm kubernetes-helm
unstable.kustomize kustomize
unstable.terraform-ls pre-commit
unstable.vault terraform-ls
vault
docker-compose docker-compose
fuse-overlayfs fuse-overlayfs

View file

@ -1,4 +1,4 @@
# Do not modify this file! It was generated by nixos-generate-config #g Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
@ -7,7 +7,6 @@ let
colors = config.colors; colors = config.colors;
schema = pkgs.gsettings-desktop-schemas; schema = pkgs.gsettings-desktop-schemas;
datadir = "${schema}/share/gsettings-schemas/${schema.name}"; datadir = "${schema}/share/gsettings-schemas/${schema.name}";
unstable = import <nixos-unstable> { config.allowUnfree = true; };
in in
{ {
programs.droidcam.enable = true; programs.droidcam.enable = true;
@ -110,6 +109,7 @@ in
destination = "/etc/udev/rules.d/80-uinput.rules"; destination = "/etc/udev/rules.d/80-uinput.rules";
}) })
]; ];
services.ratbagd.enable = true;
fonts.enableDefaultPackages = true; fonts.enableDefaultPackages = true;
fonts.fontconfig.antialias = true; fonts.fontconfig.antialias = true;
@ -172,7 +172,7 @@ in
pcmanfm pcmanfm
qrencode qrencode
remmina remmina
unstable.wezterm wezterm
uxplay uxplay
solaar solaar
@ -227,7 +227,7 @@ in
services.printing.drivers = [ pkgs.gutenprint ]; services.printing.drivers = [ pkgs.gutenprint ];
services.avahi = { services.avahi = {
enable = true; enable = true;
nssmdns = true; nssmdns4 = true;
publish = { publish = {
enable = true; enable = true;
addresses = true; addresses = true;

View file

@ -8,28 +8,28 @@ in {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
gnumake gnumake
go_1_19 go
rustup rustup
shellcheck shellcheck
unstable.golangci-lint unstable.golangci-lint
unstable.gopls unstable.gopls
unstable.rust-analyzer unstable.rust-analyzer
(python310.withPackages (python311.withPackages
(python-packages: with python-packages; [ (python-packages: with python-packages; [
black black
diagrams diagrams
pymemcache pymemcache
pyyaml pyyaml
requests requests
python-lsp-server ruff-lsp
]) ])
) )
mariadb-client mariadb-client
musl musl
dbeaver dbeaver-bin
emacs29-pgtk emacs29-pgtk
gitAndTools.delta gitAndTools.delta
lazygit lazygit
@ -37,7 +37,6 @@ in {
parallel parallel
sops sops
tig tig
unstable.bazel
openssl openssl
pkg-config pkg-config

View file

@ -1,7 +1,6 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let let
unstable = import <nixos-unstable> { config.allowUnfree = true; };
notcoal = pkgs.callPackage ../packages/notcoal { }; notcoal = pkgs.callPackage ../packages/notcoal { };
in { in {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
@ -11,7 +10,7 @@ in {
notmuch notmuch
notcoal notcoal
thunderbird thunderbird
unstable.astroid astroid
vdirsyncer vdirsyncer
]; ];
} }

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let unstable = import <nixos-unstable> { config.allowUnfree = true; }; let
in { in {
networking.networkmanager.enable = true; networking.networkmanager.enable = true;

View file

@ -1,7 +1,6 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let let
unstable = import <nixos-unstable> { };
openscad-ls = pkgs.callPackage ../packages/openscad-language-server.nix { }; openscad-ls = pkgs.callPackage ../packages/openscad-language-server.nix { };
in in
{ {

View file

@ -42,11 +42,16 @@ in {
#192.168.2.111 hass.home.f2o.io #192.168.2.111 hass.home.f2o.io
#192.168.2.111 sync.home.f2o.io #192.168.2.111 sync.home.f2o.io
192.168.2.111 pl.home.f2o.io
#127.0.0.1 auth-dev.thobits.com #127.0.0.1 auth-dev.thobits.com
127.0.0.1 database 127.0.0.1 database
127.0.0.1 youtube.com 127.0.0.1 youtube.com
127.0.0.1 www.youtube.com 127.0.0.1 www.youtube.com
34.49.192.42 www.tbone.audio
34.49.192.42 jobs.thomann.de
''; '';
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
@ -65,16 +70,15 @@ in {
drone-cli drone-cli
govc govc
ttyd ttyd
unstable.discord discord
unstable.go-jira (google-cloud-sdk.withExtraComponents [
(unstable.google-cloud-sdk.withExtraComponents [ google-cloud-sdk.components.gke-gcloud-auth-plugin
unstable.google-cloud-sdk.components.gke-gcloud-auth-plugin
]) ])
myslack myslack
unstable.velero velero
unstable.obs-studio obs-studio
unstable.obs-studio-plugins.wlrobs obs-studio-plugins.wlrobs
prusa-slicer prusa-slicer
]; ];
@ -82,5 +86,4 @@ in {
# yubikey support # yubikey support
services.udev.packages = [ pkgs.yubikey-personalization ]; services.udev.packages = [ pkgs.yubikey-personalization ];
services.pcscd.enable = true; services.pcscd.enable = true;
} }