feat(modules): add new GTK styles to Catppuccin config

fix(modules): update vaultwarden service hostname usage

feat(flake): add sops-nix to flake

feat: add .sops.yaml base, not quite ready just yet
This commit is contained in:
Jo 2024-09-22 03:11:14 +02:00
parent b23bddaf71
commit 3cd04be672
18 changed files with 293 additions and 95 deletions

View file

@ -5,9 +5,7 @@
namespace,
config,
...
}:
with lib;
with lib.${namespace};
}: with lib; with lib.${namespace};
{
imports = [
./hardware-configuration.nix
@ -26,24 +24,34 @@ with lib.${namespace};
# Enable docker
virtualisation.docker.enable = true;
# Set system Type
puzzlevision.archetypes.server.enable = true;
# Set system configuration
puzzlevision = {
archetypes.server.enable = true;
services = {
traefik.enable = true;
};
};
# Configure users.
snowfallorg.users.jo.admin = true;
users.users.jo.isNormalUser = true;
users.users.jo.extraGroups = [ "dialout" "docker" ];
snowfallorg.users.cyn.admin = true;
users.users.cyn.isNormalUser = true;
users.users.cyn.extraGroups = [ "dialout" "docker" ];
# Configure home-manager
home-manager = {
backupFileExtension = "homeManagerBackup";
};
# Provide users with some sane default packages.
# Install required system packages
environment.systemPackages = with pkgs; [
### General
nano
vim
## Runtimes
nodejs_22
bun
];
system.stateVersion = "24.05";

View file

@ -5,9 +5,7 @@
namespace,
config,
...
}:
with lib;
with lib.${namespace};
}: with lib; with lib.${namespace};
{
imports = [
./hardware-configuration.nix
@ -43,8 +41,10 @@ with lib.${namespace};
# Enable docker
virtualisation.docker.enable = true;
# Set system Type
puzzlevision.archetypes.workstation.enable = true;
# Set system configuration
puzzlevision = {
archetypes.workstation.enable = true;
};
# Enable flatpak support.
services.flatpak.enable = true;
@ -67,6 +67,10 @@ with lib.${namespace};
chromium
vlc
spotify
## Security
pinentry-tty
gnupg
];
system.stateVersion = "23.05";