Modified config so kiiwy doesn't get mad

This commit is contained in:
xeovalyte 2025-01-09 19:28:33 +01:00
parent ba648c277c
commit e09285d330
Signed by: xeovalyte
SSH Key Fingerprint: SHA256:GWI1hq+MNKR2UOcvk7n9tekASXT8vyazK7vDF9Xyciw
3 changed files with 164 additions and 170 deletions

View File

@ -6,44 +6,15 @@
../../modules/home/default.nix ../../modules/home/default.nix
]; ];
options = {
host = lib.mkOption {
type = with lib.types; str;
description = ''
Define the host of the machine
'';
};
headless = lib.mkOption {
type = with lib.types; bool;
description = ''
Is this machine headless?
'';
};
};
config = { config = {
home = { home = {
username = "xeovalyte"; username = "xeovalyte";
homeDirectory = "/home/xeovalyte"; homeDirectory = "/home/xeovalyte";
}; };
host = "xv-desktop";
headless = false;
home.packages = with pkgs; [
unstable.prismlauncher
unstable.vesktop
unstable.rnote
# Office
libreoffice
];
# Enable home-manager
programs.home-manager.enable = true;
settings = { settings = {
hostname = "xv-desktop";
applications.common.enable = true; applications.common.enable = true;
applications.alacritty.enable = false; applications.alacritty.enable = false;
applications.devenv.enable = true; applications.devenv.enable = true;
@ -61,10 +32,33 @@
theming.fonts.enable = true; theming.fonts.enable = true;
theming.nix-colors.enable = false; theming.nix-colors.enable = false;
theming.stylix.enable = true; theming.stylix.enable = true;
theming.stylix.wallpaper = "wallpaper-2.png";
theming.stylix.theme = "da-one-ocean";
desktop-environments.hyprland.enable = false; desktop-environments.hyprland.enable = false;
}; };
home.packages = with pkgs; [
unstable.prismlauncher
unstable.vesktop
unstable.rnote
# Office
libreoffice
];
# Enable home-manager
programs.home-manager.enable = true;
home.stateVersion = "24.05"; home.stateVersion = "24.05";
}; };
options = {
settings.hostname = lib.mkOption {
type = with lib.types; str;
description = ''
Define the host of the machine
'';
};
};
} }

View File

@ -22,9 +22,11 @@ in {
home.packages = with pkgs; [ home.packages = with pkgs; [
unstable.firefoxpwa unstable.firefoxpwa
]; ];
programs.firefox = lib.mkMerge [
programs.firefox = { {
enable = true; enable = true;
}
(lib.mkIf (config.home.username == "xeovalyte") {
nativeMessagingHosts = [ pkgs.unstable.firefoxpwa ]; nativeMessagingHosts = [ pkgs.unstable.firefoxpwa ];
policies = { policies = {
DisableTelemetry = true; DisableTelemetry = true;
@ -163,7 +165,8 @@ in {
"signon.rememberSignons" = false; "signon.rememberSignons" = false;
}; };
}; };
}; })
];
}; };
} }

View File

@ -39,10 +39,7 @@ in {
stylix.polarity = "dark"; stylix.polarity = "dark";
stylix.base16Scheme = if (cfg.wallpaper == "theme") then stylix.base16Scheme = lib.mkIf (cfg.theme != "theme") "${pkgs.base16-schemes}/share/themes/${cfg.theme}.yaml";
theme
else
"${pkgs.base16-schemes}/share/themes/da-one-ocean.yaml";
stylix.autoEnable = true; stylix.autoEnable = true;