valkyrie & materusPC: changes to home, add acme to valkyrie

This commit is contained in:
Mateusz Słodkowicz 2023-06-07 17:15:29 +02:00
parent 51472e812a
commit 25e2d084c3
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
7 changed files with 45 additions and 9 deletions

View File

@ -2,7 +2,7 @@
{
home.username = "materus";
home.packages = [pkgs.papirus-icon-theme];
home.packages = [];
programs.git.signing.key = lib.mkDefault "28D140BCA60B4FD1";
programs.git.userEmail = lib.mkDefault "materus@podkos.pl";

View File

@ -36,6 +36,21 @@ in
./valkyrie
inputs.private.systemModule
profiles.osProfile
inputs.home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.materus = { config ,... }: {
imports = [
../home/materus
valkyrie/extraHome.nix
profiles.homeProfile
inputs.private.homeModule
];
materus.profile.nixpkgs.enable = false;
};
home-manager.extraSpecialArgs = { inherit inputs; inherit materusFlake; };
}
];
};

View File

@ -15,11 +15,15 @@
};
home.packages = [materusPkgs.ffmpeg6-amf-full (materusPkgs.polymc.wrap {extraJDKs = [pkgs.graalvm17-ce];})];
home.packages = [
pkgs.papirus-icon-theme
materusPkgs.ffmpeg6-amf-full
(materusPkgs.polymc.wrap { extraJDKs = [ pkgs.graalvm17-ce ]; })
];
programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [wlrobs obs-vaapi obs-vkcapture obs-gstreamer input-overlay obs-multi-rtmp obs-pipewire-audio-capture];
plugins = with pkgs.obs-studio-plugins; [ wlrobs obs-vaapi obs-vkcapture obs-gstreamer input-overlay obs-multi-rtmp obs-pipewire-audio-capture ];
package = materusPkgs.obs-amf;
};
}

View File

@ -118,5 +118,20 @@
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "23.05"; # Did you read the comment?
security.acme.acceptTerms = true;
security.acme.defaults.email = "materus+acme@podkos.pl";
security.acme.certs."materus.pl" = {
domain = "materus.pl";
extraDomainNames = ["*.materus.pl"];
dnsProvider = "ovh";
credentialsFile = "/materus/config/valkyrie/certs.secret";
};
}

View File

@ -2,13 +2,15 @@
{
home.stateVersion = "23.05";
home.homeDirectory = "/home/materus";
materus.profile = {
fonts.enable = false;
nixpkgs.enable = true;
nixpkgs.enable = false;
enableDesktop = false;
enableTerminal = true;
enableTerminal = false;
enableTerminalExtra = false;
enableNixDevel = false;
fish.enable = true;
bash.enable = true;
};
}

View File

@ -33,7 +33,7 @@ in
delta.enable = lib.mkDefault cfg.enableTerminal;
lfs.enable = lib.mkDefault cfg.enableTerminal;
};
programs.gitui.enable = cfg.enableTerminal;
programs.gitui.enable = cfg.enableTerminalExtra;
programs.nix-index = {
enable = lib.mkDefault cfg.enableTerminal;

View File

@ -3,7 +3,7 @@ let
cfg = config.materus.profile.editor.neovim;
in
{
options.materus.profile.editor.neovim.enable = materusPkgs.lib.mkBoolOpt config.materus.profile.enableTerminal "Enable neovim with materus cfg";
options.materus.profile.editor.neovim.enable = materusPkgs.lib.mkBoolOpt config.materus.profile.enableTerminalExtra "Enable neovim with materus cfg";
config = lib.mkIf cfg.enable {
programs.neovim = {
enable = true;