update sternchen

This commit is contained in:
Ingolf Wagner 2024-05-23 22:31:30 +02:00
parent 22e87888b5
commit 629d3d6f6c
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
8 changed files with 113 additions and 82 deletions

145
flake.nix
View file

@ -337,72 +337,89 @@
home-manager.users.mainUser = import ./nixos/homes/tina; home-manager.users.mainUser = import ./nixos/homes/tina;
home-manager.users.root = import ./nixos/homes/root; home-manager.users.root = import ./nixos/homes/root;
} }
# todo : strange overrides, this should be an option kinda an be changed on another level (the homes/<name> folders or something)
({ lib, ... }: {
home-manager.users = {
mainUser = {
programs.atuin.enable = lib.mkForce false;
};
root = {
programs.atuin.enable = lib.mkForce false;
};
};
})
]; ];
}; };
cream = nixosConfigurationSetup { cream = nixosConfigurationSetup
name = "cream"; {
modules = [ name = "cream";
nixos-hardware.nixosModules.framework-12th-gen-intel modules = [
retiolum.nixosModules.retiolum nixos-hardware.nixosModules.framework-12th-gen-intel
private_assets.nixosModules.cream retiolum.nixosModules.retiolum
homeManagerModules private_assets.nixosModules.cream
{ home-manager.users.mainUser.gui.enable = true; } homeManagerModules
{ { home-manager.users.mainUser.gui.enable = true; }
home-manager.users.mainUser = import ./nixos/homes/palo; {
home-manager.users.root = import ./nixos/homes/root; home-manager.users.mainUser = import ./nixos/homes/palo;
} home-manager.users.root = import ./nixos/homes/root;
]; }
}; ];
cherry = nixosConfigurationSetup { };
name = "cherry"; cherry = nixosConfigurationSetup
modules = [ {
nixos-hardware.nixosModules.framework-13th-gen-intel name = "cherry";
homeManagerModules modules = [
{ home-manager.users.mainUser.gui.enable = true; } nixos-hardware.nixosModules.framework-13th-gen-intel
{ homeManagerModules
home-manager.users.mainUser = import ./nixos/homes/palo; { home-manager.users.mainUser.gui.enable = true; }
home-manager.users.root = import ./nixos/homes/root; {
} home-manager.users.mainUser = import ./nixos/homes/palo;
]; home-manager.users.root = import ./nixos/homes/root;
}; }
chungus = nixosConfigurationSetup { ];
name = "chungus"; };
modules = [ chungus = nixosConfigurationSetup
homeManagerModules {
retiolum.nixosModules.retiolum name = "chungus";
private_assets.nixosModules.chungus modules = [
{ homeManagerModules
home-manager.users.mainUser = import ./nixos/homes/palo; retiolum.nixosModules.retiolum
home-manager.users.root = import ./nixos/homes/root; private_assets.nixosModules.chungus
} {
]; home-manager.users.mainUser = import ./nixos/homes/palo;
}; home-manager.users.root = import ./nixos/homes/root;
orbi = nixosConfigurationSetup { }
name = "orbi"; ];
host = "95.216.66.212"; };
modules = [ orbi = nixosConfigurationSetup
homeManagerModules {
srvos.nixosModules.hardware-hetzner-online-intel name = "orbi";
srvos.nixosModules.server host = "95.216.66.212";
srvos.nixosModules.mixins-terminfo modules = [
{ home-manager.sharedModules = [{ programs.doom-emacs.enable = false; }]; } homeManagerModules
{ srvos.nixosModules.hardware-hetzner-online-intel
home-manager.users.mainUser = import ./nixos/homes/palo; srvos.nixosModules.server
home-manager.users.root = import ./nixos/homes/root; srvos.nixosModules.mixins-terminfo
} { home-manager.sharedModules = [{ programs.doom-emacs.enable = false; }]; }
]; {
}; home-manager.users.mainUser = import ./nixos/homes/palo;
robi = nixosConfigurationSetup { home-manager.users.root = import ./nixos/homes/root;
name = "robi"; }
modules = [ ];
homeManagerModules };
{ home-manager.sharedModules = [{ programs.doom-emacs.enable = false; }]; } robi = nixosConfigurationSetup
{ {
home-manager.users.mainUser = import ./nixos/homes/palo; name = "robi";
home-manager.users.root = import ./nixos/homes/root; modules = [
} homeManagerModules
]; { home-manager.sharedModules = [{ programs.doom-emacs.enable = false; }]; }
}; {
home-manager.users.mainUser = import ./nixos/homes/palo;
home-manager.users.root = import ./nixos/homes/root;
}
];
};
}; };
}; };
} }

View file

@ -7,6 +7,7 @@ with lib;
default = config.components.gui.enable; default = config.components.gui.enable;
}; };
# todo : put this in `/homes`
config = mkIf (config.components.gui.noti.enable) { config = mkIf (config.components.gui.noti.enable) {
sops.secrets.pushover_user_key = { }; sops.secrets.pushover_user_key = { };

View file

@ -1,7 +1,8 @@
{ {
imports = [ imports = [
../common ../common
../palo/doom-emacs.nix # todo : this must be optional, sometimes I don't want to compile the whole emacs eco system.
#../palo/doom-emacs.nix
]; ];
gui.enable = false; gui.enable = false;

View file

@ -5,5 +5,6 @@
./stylix.nix ./stylix.nix
./logseq.nix ./logseq.nix
./packages.nix ./packages.nix
./kde.nix
]; ];
} }

3
nixos/homes/tina/kde.nix Normal file
View file

@ -0,0 +1,3 @@
{
stylix.targets.kde.enable = true;
}

View file

@ -25,8 +25,10 @@ with lib;
pdfarranger pdfarranger
calibre calibre
]; ];
};
};
} }

View file

@ -5,6 +5,7 @@
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-light-medium.yaml"; stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-light-medium.yaml";
stylix.fonts = { stylix.fonts = {
serif = { serif = {
package = pkgs.ubuntu_font_family; package = pkgs.ubuntu_font_family;

View file

@ -16,10 +16,12 @@
system.stateVersion = "23.11"; system.stateVersion = "23.11";
# for calibre server # for calibre server
networking.firewall.allowedTCPPorts = [ 8080 ]; networking.firewall.allowedTCPPorts = [ 8080 ];
components.gui.enable = true; components.gui.enable = true;
components.gui.kmonad.enable = false; components.gui.kmonad.enable = false;
components.gui.style.enable = false; # installes nerd-fonts which seem not to work.
components.gui.noti.enable = false;
components.terminal.enable = true; components.terminal.enable = true;
components.network.enable = true; components.network.enable = true;
@ -27,27 +29,30 @@
components.mainUser.enable = true; components.mainUser.enable = true;
components.monitor.enable = false; components.monitor.enable = false;
users.users.mainUser.extraGroups = [ "adbusers" "video" ];
users.users.mainUser.extraGroups = [ "video" ];
home-manager.users.mainUser.home.git-pull.enable = false; home-manager.users.mainUser.home.git-pull.enable = false;
users.users.mainUser.name = lib.mkForce "tina"; users.users.mainUser.name = lib.mkForce "tina";
users.users.mainUser.home = lib.mkForce "/home/tina"; users.users.mainUser.home = lib.mkForce "/home/tina";
services.browser.enable = false; services.browser.enable = false;
security.wrappers = { #security.wrappers = {
pmount = { # pmount = {
source = "${pkgs.pmount}/bin/pmount"; # source = "${pkgs.pmount}/bin/pmount";
setuid = true; # setuid = true;
owner = "root"; # owner = "root";
group = "root"; # group = "root";
}; # };
pumount = { # pumount = {
source = "${pkgs.pmount}/bin/pumount"; # source = "${pkgs.pmount}/bin/pumount";
setuid = true; # setuid = true;
owner = "root"; # owner = "root";
group = "root"; # group = "root";
}; # };
}; #};
# keyboard fiddling # keyboard fiddling
i18n.defaultLocale = "de_DE.UTF-8"; i18n.defaultLocale = "de_DE.UTF-8";