Add penpot #17

Merged
DashieTM merged 3 commits from main into main 2025-05-09 23:29:54 +02:00
5 changed files with 28 additions and 27 deletions
Showing only changes of commit a4f23bf459 - Show all commits

View file

@ -50,14 +50,13 @@ in {
"sd_mod"
];
};
kernelParams = lib.mkDefault (
kernelParams =
[
''resume="PARTLABEL=SWAP"''
''quiet''
''udev.log_level=3''
]
++ config.conf.bootParams
);
++ config.conf.bootParams;
};
networking = {
@ -102,7 +101,7 @@ in {
builders-use-substitutes = mkDashDefault true;
substituters = lib.mkDefault [
substituters = [
"https://hyprland.cachix.org"
"https://anyrun.cachix.org"
"https://cache.garnix.io"
@ -116,7 +115,7 @@ in {
"https://chaotic-nyx.cachix.org/"
];
trusted-public-keys = lib.mkDefault [
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s="
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
@ -163,11 +162,10 @@ in {
"video"
"audio"
];
packages = with pkgs;
lib.mkDefault [
home-manager
xdg-desktop-portal-gtk
];
packages = with pkgs; [
home-manager
xdg-desktop-portal-gtk
];
# this password will only last for the first login
# e.g. login, then change to whatever else, this also ensures no public hash is available
password = mkDashDefault "firstlogin";

View file

@ -34,8 +34,8 @@ in {
};
nix = {
extraOptions = lib.mkDefault (lib.mkIf (config ? sops.secrets && config.sops.secrets ? access.path) ''
extraOptions = lib.mkIf (config ? sops.secrets && config.sops.secrets ? access.path) ''
!include ${config.sops.secrets.access.path}
'');
'';
};
}

View file

@ -32,7 +32,7 @@
};
users.${config.conf.username} = {
disabledModules = lib.mkDefault ["programs/anyrun.nix"];
disabledModules = ["programs/anyrun.nix"];
imports =
[
./common.nix

View file

@ -1,4 +1,5 @@
{
mkDashDefault,
config,
lib,
options,
@ -84,14 +85,15 @@
if config.mods.basePackages.enable
then
{
upower.enable = true;
preload.enable = mkDashDefault true;
upower.enable = mkDashDefault true;
dbus = {
enable = true;
enable = mkDashDefault true;
};
avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
enable = mkDashDefault true;
nssmdns4 = mkDashDefault true;
openFirewall = mkDashDefault true;
};
}
// config.mods.basePackages.specialServices
@ -102,23 +104,23 @@
then
{
nix-ld = {
enable = true;
enable = mkDashDefault true;
libraries = with pkgs; [
jdk
zlib
];
};
direnv = {
package = pkgs.direnv;
silent = false;
loadInNixShell = true;
direnvrcExtra = "";
package = mkDashDefault pkgs.direnv;
silent = mkDashDefault false;
loadInNixShell = mkDashDefault true;
direnvrcExtra = mkDashDefault "";
nix-direnv = {
enable = true;
package = pkgs.nix-direnv;
enable = mkDashDefault true;
package = mkDashDefault pkgs.nix-direnv;
};
};
gnupg.agent.enable = true;
gnupg.agent.enable = mkDashDefault true;
}
// config.mods.basePackages.specialPrograms
else config.mods.basePackages.specialPrograms;

View file

@ -1,4 +1,5 @@
{
mkDashDefault,
config,
lib,
options,
@ -297,7 +298,7 @@ in {
cursor = {
enable_hyprcursor = true;
no_hardware_cursors = lib.mkDefault config.mods.gpu.nvidia.enable;
no_hardware_cursors = mkDashDefault config.mods.gpu.nvidia.enable;
# done with nix, this would break the current setup otherwise
sync_gsettings_theme = false;
};