General cleanup and flake update

This commit is contained in:
Filippo Berto 2024-01-04 19:55:13 +01:00
parent b26292662f
commit a5bc8abaec
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
13 changed files with 126 additions and 112 deletions

View file

@ -1,12 +1,10 @@
{ config, pkgs, lib, ... }:
with lib; {
{
age.secrets = {
odin_wg_priv = { file = ../../secrets/odin_wg_priv.age; };
};
# Use the systemd-boot EFI boot loader.
boot = {
# kernelPackages = pkgs.linuxPackages_latest;
@ -178,7 +176,7 @@ with lib; {
steam = {
enable = true;
package = pkgs.steam.override {
extraPkgs = pkgs: with pkgs; [ icu ];
extraPkgs = pkgs: [ pkgs.icu ];
extraProfile = ''
export GSETTINGS_SCHEMA_DIR="${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}/glib-2.0/schemas/"
'';
@ -210,16 +208,16 @@ with lib; {
};
in
{
bertof_home = recursiveUpdate common { SUBVOLUME = "/home/bertof"; };
bertof_music = recursiveUpdate common { SUBVOLUME = "/home/bertof/Musica"; };
bertof_downloads = recursiveUpdate common { SUBVOLUME = "/home/bertof/Scaricati"; };
bertof_images = recursiveUpdate common { SUBVOLUME = "/home/bertof/Immagini"; };
bertof_videos = recursiveUpdate common { SUBVOLUME = "/home/bertof/Video"; };
bertof_documents = recursiveUpdate common { SUBVOLUME = "/home/bertof/Documenti"; };
bertof_games_ssd = recursiveUpdate common { SUBVOLUME = "/home/bertof/Giochi/SSD"; };
bertof_games_sata = recursiveUpdate common { SUBVOLUME = "/home/bertof/Giochi/SATA"; };
# bertof_games_hdd = recursiveUpdate common { SUBVOLUME = "/home/bertof/Giochi/HDD"; };
bertof_git = recursiveUpdate common { SUBVOLUME = "/home/bertof/Documenti/Git"; };
bertof_home = lib.recursiveUpdate common { SUBVOLUME = "/home/bertof"; };
bertof_music = lib.recursiveUpdate common { SUBVOLUME = "/home/bertof/Musica"; };
bertof_downloads = lib.recursiveUpdate common { SUBVOLUME = "/home/bertof/Scaricati"; };
bertof_images = lib.recursiveUpdate common { SUBVOLUME = "/home/bertof/Immagini"; };
bertof_videos = lib.recursiveUpdate common { SUBVOLUME = "/home/bertof/Video"; };
bertof_documents = lib.recursiveUpdate common { SUBVOLUME = "/home/bertof/Documenti"; };
bertof_games_ssd = lib.recursiveUpdate common { SUBVOLUME = "/home/bertof/Giochi/SSD"; };
bertof_games_sata = lib.recursiveUpdate common { SUBVOLUME = "/home/bertof/Giochi/SATA"; };
# bertof_games_hdd = lib.recursiveUpdate common { SUBVOLUME = "/home/bertof/Giochi/HDD"; };
bertof_git = lib.recursiveUpdate common { SUBVOLUME = "/home/bertof/Documenti/Git"; };
};
};