Refactored configuration

This commit is contained in:
2024-06-25 13:11:30 +02:00
parent 3ead6d13d8
commit 726b059e5e
9 changed files with 198 additions and 319 deletions

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, lib, config, ... }:
{
imports = [
@@ -13,30 +13,45 @@
../../modules/home/cli/ssh.nix
];
home = {
username = "xeovalyte";
homeDirectory = "/home/xeovalyte";
options = {
host = lib.mkOption {
type = with lib.types; str;
description = ''
Define the host of the machine
'';
};
};
home.packages = with pkgs; [
# Desktop Applications
kdenlive
unstable.prismlauncher
unstable.joplin-desktop
unstable.moonlight-qt
unstable.prusa-slicer
signal-desktop
unstable.vesktop
config = {
home = {
username = "xeovalyte";
homeDirectory = "/home/xeovalyte";
};
# Office
libreoffice
onlyoffice-bin
host = "xv-laptop";
# Image editing
gimp
inkscape
];
home.packages = with pkgs; [
# Desktop Applications
kdenlive
unstable.prismlauncher
unstable.joplin-desktop
unstable.moonlight-qt
unstable.prusa-slicer
signal-desktop
unstable.vesktop
# Office
libreoffice
onlyoffice-bin
# Image editing
gimp
inkscape
];
home.stateVersion = "24.05";
};
home.stateVersion = "24.05";
}