Compare commits

...

5 commits

Author SHA1 Message Date
ce7b147d04
move runner
Some checks failed
Test action / Print hello world (push) Failing after 9s
2025-09-07 20:47:45 +02:00
7f6f1166a4
add backup extension for home manager 2025-09-07 20:47:33 +02:00
288e354edf
add nheko 2025-09-07 20:06:56 +02:00
0689c338ac
solve compilation errors 2025-09-07 18:12:08 +02:00
2ca6339fe6
fix typo 2025-09-07 18:11:36 +02:00
8 changed files with 37 additions and 8 deletions

View file

@ -63,11 +63,11 @@
url = "github:Jovian-Experiments/Jovian-NixOS"; url = "github:Jovian-Experiments/Jovian-NixOS";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
grub2-themes = { grub2-themes = {
url = "github:vinceliuice/grub2-themes"; url = "github:vinceliuice/grub2-themes";
}; };
nixos-wsl = { nixos-wsl = {
url = "github:nix-community/nixos-wsl"; url = "github:nix-community/nixos-wsl";
inputs = { inputs = {
@ -99,6 +99,9 @@
# I think this is because of zen # I think this is because of zen
"qtwebengine-5.15.19" "qtwebengine-5.15.19"
# For Nheko, the matrix client
"olm-3.2.16"
]; ];
}; };

View file

@ -35,6 +35,7 @@
bitwarden.enable = true; bitwarden.enable = true;
discord.enable = true; discord.enable = true;
ladybird.enable = true; ladybird.enable = true;
nheko.enable = true;
obs.enable = true; obs.enable = true;
onlyoffice.enable = true; onlyoffice.enable = true;
signal.enable = true; signal.enable = true;

View file

@ -0,0 +1,15 @@
{ config, lib, pkgs, namespace, osConfig ? {}, ... }:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.${namespace}.application.nheko;
in
{
options.${namespace}.application.nheko = {
enable = mkEnableOption "enable nheko (matrix client)";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [ nheko ];
};
}

View file

@ -4,7 +4,9 @@ let
in in
{ {
systemd.user.startServices = "sd-switch"; systemd.user.startServices = "sd-switch";
programs.home-manager.enable = true; programs.home-manager = {
enable = true;
};
home.stateVersion = mkDefault (osConfig.system.stateVersion or "25.05"); home.stateVersion = mkDefault (osConfig.system.stateVersion or "25.05");
} }

View file

@ -0,0 +1,6 @@
{ ... }:
{
config = {
home-manager.backupFileExtension = "back";
};
}

View file

@ -11,8 +11,10 @@ in
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
${namespace}.services.virtualisation.podman.enable = true; ${namespace}.services = {
${namespace}.services.persistance.postgresql.enable = true; persistance.postgresql.enable = true;
virtualisation.podman.enable = true;
};
environment.systemPackages = with pkgs; [ forgejo ]; environment.systemPackages = with pkgs; [ forgejo ];

View file

@ -2,10 +2,10 @@
let let
inherit (lib) mkIf mkEnableOption; inherit (lib) mkIf mkEnableOption;
cfg = config.${namespace}.services.peristance.postgresql; cfg = config.${namespace}.services.persistance.postgresql;
in in
{ {
options.${namespace}.services.peristance.postgresql = { options.${namespace}.services.persistance.postgresql = {
enable = mkEnableOption "Postgresql"; enable = mkEnableOption "Postgresql";
}; };