chore: update flake

This commit is contained in:
Leon Schwarzäugl 2025-10-21 13:15:14 +02:00
parent e07b3c2b6e
commit fb37690bc0
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
8 changed files with 3088 additions and 887 deletions

View file

@ -412,8 +412,9 @@ A short overview over each input and what it does:
swarsel-modules.url = "github:Swarsel/swarsel-modules/main"; swarsel-modules.url = "github:Swarsel/swarsel-modules/main";
swarsel-nix.url = "github:Swarsel/swarsel-nix/main"; swarsel-nix.url = "github:Swarsel/swarsel-nix/main";
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; # url = "github:nix-community/home-manager";
# url = "github:Swarsel/home-manager/module/pizauth"; # url = "github:Swarsel/home-manager/main";
url = "github:JuneStepp/home-manager/anki-fix-booleans";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
swarsel.url = "github:Swarsel/.dotfiles"; swarsel.url = "github:Swarsel/.dotfiles";
@ -4639,99 +4640,102 @@ This section is for setting things that should be used on hosts that are using t
Mostly used to install some compilers and lsp's that I want to have available when not using a devShell flake. Most other packages should go in [[#h:893a7f33-7715-415b-a895-2687ded31c18][Installed packages]]. Mostly used to install some compilers and lsp's that I want to have available when not using a devShell flake. Most other packages should go in [[#h:893a7f33-7715-415b-a895-2687ded31c18][Installed packages]].
#+begin_src nix-ts :tangle modules/nixos/client/packages.nix #+begin_src nix-ts :tangle modules/nixos/client/packages.nix
{ lib, config, pkgs, minimal, ... }: { lib, config, pkgs, minimal, ... }:
{ {
options.swarselmodules.packages = lib.mkEnableOption "install packages"; options.swarselmodules.packages = lib.mkEnableOption "install packages";
config = lib.mkIf config.swarselmodules.packages { config = lib.mkIf config.swarselmodules.packages {
environment.systemPackages = with pkgs; lib.optionals (!minimal) [ environment.systemPackages = with pkgs; lib.optionals (!minimal) [
# yubikey packages # yubikey packages
gnupg gnupg
yubikey-personalization yubikey-personalization
yubico-pam yubico-pam
yubioath-flutter yubioath-flutter
yubikey-manager yubikey-manager
yubikey-touch-detector yubikey-touch-detector
yubico-piv-tool yubico-piv-tool
cfssl cfssl
pcsctools pcsctools
pcscliteWithPolkit.out pcscliteWithPolkit.out
# ledger packages # ledger packages
ledger-live-desktop ledger-live-desktop
# pinentry # pinentry
dbus dbus
# swaylock-effects # swaylock-effects
syncthingtray-minimal syncthingtray-minimal
swayosd swayosd
# secure boot # secure boot
sbctl sbctl
libsForQt5.qt5.qtwayland libsForQt5.qt5.qtwayland
# nix package database # nix package database
nix-index nix-index
nixos-generators nixos-generators
# commit hooks # commit hooks
pre-commit pre-commit
# proc info # proc info
acpi acpi
# pci info # pci info
pciutils pciutils
usbutils usbutils
# better make for general tasks # better make for general tasks
just just
# keyboards # keyboards
qmk qmk
vial vial
via via
# theme related # theme related
adwaita-icon-theme adwaita-icon-theme
# kde-connect # kde-connect
xdg-desktop-portal xdg-desktop-portal
xdg-desktop-portal-gtk xdg-desktop-portal-gtk
xdg-desktop-portal-wlr xdg-desktop-portal-wlr
# bluetooth # bluetooth
bluez bluez
ghostscript_headless ghostscript_headless
wireguard-tools wireguard-tools
nixd nixd
zig zig
zls zls
elk-to-svg elk-to-svg
] ++ lib.optionals minimal [ ] ++ lib.optionals minimal [
networkmanager networkmanager
curl curl
git git
gnupg gnupg
rsync rsync
ssh-to-age ssh-to-age
sops sops
vim vim
just just
sbctl sbctl
]; ];
nixpkgs.config.permittedInsecurePackages = lib.mkIf (!minimal) [ nixpkgs.config.permittedInsecurePackages = lib.mkIf (!minimal) [
"jitsi-meet-1.0.8043" "jitsi-meet-1.0.8043"
"electron-29.4.6" "electron-29.4.6"
"SDL_ttf-2.0.11" "SDL_ttf-2.0.11"
]; # audacity?
}; "mbedtls-2.28.10"
} # "qtwebengine-5.15.19"
];
};
}
#+end_src #+end_src
**** Environment setup **** Environment setup
@ -10719,20 +10723,22 @@ Options that I need specifically at work. There are more options at [[#h:f0b2ea9
runAsRoot = true; runAsRoot = true;
swtpm.enable = true; swtpm.enable = true;
vhostUserPackages = with pkgs; [ virtiofsd ]; vhostUserPackages = with pkgs; [ virtiofsd ];
ovmf = { # ovmf = {
enable = true; # enable = true;
packages = [ # packages = [
(pkgs.OVMFFull.override { # (pkgs.OVMFFull.override {
secureBoot = true; # secureBoot = true;
tpmSupport = true; # tpmSupport = true;
}).fd # }).fd
]; # ];
}; # };
}; };
}; };
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
remmina
# gp-onsaml-gui
stable24_11.python39 stable24_11.python39
qemu qemu
packer packer
@ -14500,7 +14506,7 @@ This service changes the screen hue at night. I am not sure if that really does
programs.spicetify = { programs.spicetify = {
enable = true; enable = true;
# spotifyPackage = pkgs.stable24_11.spotify; # spotifyPackage = pkgs.stable24_11.spotify;
spotifyPackage = pkgs.spotify; spotifyPackage = pkgs.stable.spotify;
enabledExtensions = with spicePkgs.extensions; [ enabledExtensions = with spicePkgs.extensions; [
fullAppDisplay fullAppDisplay
shuffle shuffle
@ -14673,7 +14679,7 @@ This service changes the screen hue at night. I am not sure if that really does
programs.anki = { programs.anki = {
enable = true; enable = true;
package = pkgs.anki; # # package = pkgs.anki;
hideBottomBar = true; hideBottomBar = true;
hideBottomBarMode = "always"; hideBottomBarMode = "always";
hideTopBar = true; hideTopBar = true;
@ -14684,6 +14690,7 @@ This service changes the screen hue at night. I am not sure if that really does
sync = { sync = {
autoSync = false; # sync on profile close will delay system shutdown autoSync = false; # sync on profile close will delay system shutdown
syncMedia = true; syncMedia = true;
autoSyncMediaMinutes = 5;
url = "https://${globals.services.ankisync.domain}"; url = "https://${globals.services.ankisync.domain}";
usernameFile = nixosConfig.sops.secrets.anki-user.path; usernameFile = nixosConfig.sops.secrets.anki-user.path;
# this is not the password but the syncKey # this is not the password but the syncKey

3757
flake.lock generated

File diff suppressed because it is too large Load diff

View file

@ -20,8 +20,9 @@
swarsel-modules.url = "github:Swarsel/swarsel-modules/main"; swarsel-modules.url = "github:Swarsel/swarsel-modules/main";
swarsel-nix.url = "github:Swarsel/swarsel-nix/main"; swarsel-nix.url = "github:Swarsel/swarsel-nix/main";
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; # url = "github:nix-community/home-manager";
# url = "github:Swarsel/home-manager/module/pizauth"; # url = "github:Swarsel/home-manager/main";
url = "github:JuneStepp/home-manager/anki-fix-booleans";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
swarsel.url = "github:Swarsel/.dotfiles"; swarsel.url = "github:Swarsel/.dotfiles";

View file

@ -16,7 +16,7 @@ in
programs.anki = { programs.anki = {
enable = true; enable = true;
package = pkgs.anki; # # package = pkgs.anki;
hideBottomBar = true; hideBottomBar = true;
hideBottomBarMode = "always"; hideBottomBarMode = "always";
hideTopBar = true; hideTopBar = true;
@ -27,6 +27,7 @@ in
sync = { sync = {
autoSync = false; # sync on profile close will delay system shutdown autoSync = false; # sync on profile close will delay system shutdown
syncMedia = true; syncMedia = true;
autoSyncMediaMinutes = 5;
url = "https://${globals.services.ankisync.domain}"; url = "https://${globals.services.ankisync.domain}";
usernameFile = nixosConfig.sops.secrets.anki-user.path; usernameFile = nixosConfig.sops.secrets.anki-user.path;
# this is not the password but the syncKey # this is not the password but the syncKey

View file

@ -81,8 +81,8 @@
# spotify # spotify
# vesktop # discord client # vesktop # discord client
# nextcloud-client # enables a systemd service that I do not want # nextcloud-client # enables a systemd service that I do not want
# element-desktop
# spotify-player # spotify-player
# element-desktop
nicotine-plus nicotine-plus
stable.transmission_3 stable.transmission_3

View file

@ -9,7 +9,7 @@ in
programs.spicetify = { programs.spicetify = {
enable = true; enable = true;
# spotifyPackage = pkgs.stable24_11.spotify; # spotifyPackage = pkgs.stable24_11.spotify;
spotifyPackage = pkgs.spotify; spotifyPackage = pkgs.stable.spotify;
enabledExtensions = with spicePkgs.extensions; [ enabledExtensions = with spicePkgs.extensions; [
fullAppDisplay fullAppDisplay
shuffle shuffle

View file

@ -88,6 +88,9 @@
"jitsi-meet-1.0.8043" "jitsi-meet-1.0.8043"
"electron-29.4.6" "electron-29.4.6"
"SDL_ttf-2.0.11" "SDL_ttf-2.0.11"
# audacity?
"mbedtls-2.28.10"
# "qtwebengine-5.15.19"
]; ];
}; };
} }

View file

@ -141,20 +141,22 @@ in
runAsRoot = true; runAsRoot = true;
swtpm.enable = true; swtpm.enable = true;
vhostUserPackages = with pkgs; [ virtiofsd ]; vhostUserPackages = with pkgs; [ virtiofsd ];
ovmf = { # ovmf = {
enable = true; # enable = true;
packages = [ # packages = [
(pkgs.OVMFFull.override { # (pkgs.OVMFFull.override {
secureBoot = true; # secureBoot = true;
tpmSupport = true; # tpmSupport = true;
}).fd # }).fd
]; # ];
}; # };
}; };
}; };
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
remmina
# gp-onsaml-gui
stable24_11.python39 stable24_11.python39
qemu qemu
packer packer