Adding KCalc and maybe more stuffs?

This commit is contained in:
Annika Merris 2024-07-31 13:21:09 -04:00
parent 74877a1c6c
commit 7913ff2919
4 changed files with 37 additions and 19 deletions

View file

@ -60,6 +60,7 @@ inputs.nixpkgs.lib.nixosSystem {
discord.enable = true;
element.enable = true;
firefox.enable = true;
kcalc.enable = true;
kitty.enable = true;
# netbird.enable = true; See netbird.nix (I can't access the sops stuff from here?)
openrgb.enable = true;
@ -80,25 +81,6 @@ inputs.nixpkgs.lib.nixosSystem {
tailscale.enable = true;
# TODO: Move this out
home-manager.users.annika = {
programs = {
direnv = {
enable = true;
enableBashIntegration = true;
nix-direnv.enable = true;
};
bash = {
enable = true;
shellAliases = {
s = "kitten ssh";
la = "ls -a";
ll = "ls -l";
lal = "ls -la";
cls = "clear && ls";
};
};
};
};
nix.gc = {
automatic = true;

View file

@ -4,6 +4,7 @@
./discord.nix
./element.nix
./firefox.nix
./kcalc.nix
./kitty.nix
./netbird.nix
./openrgb.nix

View file

@ -0,0 +1,16 @@
{ config, pkgs, lib, ... }:
{
options = {
kcalc = {
enable = lib.mkEnableOption {
description = "Enable KCalc";
default = false;
};
};
};
config = lib.mkIf (config.gui.enable && config.kcalc.enable) {
environment.systemPackages = [
pkgs.kdePackages.kcalc
];
};
}

View file

@ -10,4 +10,23 @@
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG9NhsAOBwWBdBeenfaPoRtqQrAIgg7E5m4sKYQU9cFx annika@kim" ];
hashedPasswordFile = config.sops.secrets.annika_password.path;
};
home-manager.users.annika = {
programs = {
direnv = {
enable = true;
enableBashIntegration = true;
nix-direnv.enable = true;
};
bash = {
enable = true;
shellAliases = {
s = "kitten ssh";
la = "ls -a";
ll = "ls -l";
lal = "ls -la";
cls = "clear && ls";
};
};
};
};
}