This commit is contained in:
Chris Kruining 2024-07-23 22:00:59 +02:00
parent db512e1f74
commit e01ffa4cec
14 changed files with 14 additions and 32 deletions

View file

@ -1,3 +1,3 @@
{
ls = "eza -al";
};
}

View file

@ -15,6 +15,7 @@
desktop = {
plasma.enable = true;
type = "wayland";
terminal = {
default = "alacritty";

View file

@ -32,9 +32,4 @@ in
nixpkgs.hostPlatform = mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = mkDefault config.hardware.enableRedistributableFirmware;
services = {
power-profiles-deamon-enable = false;
thermald.enable = false;
};
}

View file

@ -30,9 +30,4 @@ in
nixpkgs.hostPlatform = mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = mkDefault config.hardware.enableRedistributableFirmware;
services = {
power-profiles-deamon-enable = false;
thermald.enable = false;
};
}

View file

@ -16,7 +16,7 @@ in {
enable = mkEnableOption "network manager";
};
config =mkIf cfg.networkManager.enable {
config = mkIf cfg.enable {
systemd.services.NetworkManager-wait-online.enable = false;
networking = {

View file

@ -14,7 +14,7 @@ in
config = mkMerge [
(mkIf config.modules.networking.samba.sharing.enable {
users = {
group.samba-guest = {};
groups.samba-guest = {};
users.samba-guest = {
isSystemUser = true;
description = "Residence of our Samba guest users";

View file

@ -20,6 +20,7 @@ in
"${config.user.home}/Github/.files"
]);
hostDir = mkOpt path "${config.kaas.dir}/hosts/${config.networking.hostName}";
configDir = mkOpt path "${config.kaas.dir}/config";
modulesDir = mkOpt path "${config.kaas.dir}/modules";
themesDir = mkOpt path "${config.kaas.modulesDir}/themes";
};

View file

@ -79,7 +79,6 @@ in
enable = true;
openFirewall = true;
configFile = "${directory}/sabnzbd/config.ini";
port = 5001;
user = user;
group = group;

View file

@ -90,7 +90,7 @@ in
};
};
home.configFile.btop-theme = let
create.configFile.btop-theme = let
inherit (config.modules.themes) active;
in
mkIf (active != null) {

View file

@ -132,10 +132,10 @@ in
};
};
home.configFile.zsh-abbreviations = {
create.configFile.zsh-abbreviations = {
target = "zsh/abbreviations";
text = let
abbrevs = import "${config.snowflake.configDir}/shell-abbr";
abbrevs = import "${config.kaas.configDir}/shell-abbr";
in ''
${concatStrings (mapAttrsToList
(k: v: "abbr ${k}=${escapeNixString v}")

View file

@ -164,12 +164,7 @@ in {
package = iconTheme.package;
};
gtk3.bookmarks = map (dir: "file://${config.user.home}/" + dir) [
"Workspace/public/snowflake"
"Workspace/public/cs-notes"
"Workspace/public/notebook"
"Library/unexplored"
"Library/unexplored/mathematics"
"Library/unexplored/programming"
"data/Github/.files"
];
gtk4.extraConfig = {
gtk-cursor-blink = false;

View file

@ -97,10 +97,6 @@ in
};
editor = {
helix = {
dark = "everforrest";
light = "everforrest_storm";
};
neovim = {
dark = "everforrest";
light = "everforrest";

View file

@ -3,10 +3,10 @@ let
inherit (lib.modules) mkIf;
in
{
options.modules.virtualization = let
options.modules.virtualisation = let
inherit (lib.options) mkEnableOption;
in
{
enable = mkEnableOption "enable virtualization";
enable = mkEnableOption "enable virtualisation";
};
}

View file

@ -2,17 +2,17 @@
let
inherit (lib.modules) mkIf;
cfg = config.modules.virtualization.podman;
cfg = config.modules.virtualisation.podman;
in
{
options.modules.virtualization.podman = let
options.modules.virtualisation.podman = let
inherit (lib.options) mkEnableOption;
in
{
enable = mkEnableOption "enable podman";
};
config = mkIf options.modules.virtualization.podman.enable {
config = mkIf options.modules.virtualisation.podman.enable {
virtualisation = {
containers.enable = true;