mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-11 12:03:11 -05:00
Adding KCalc and maybe more stuffs?
This commit is contained in:
parent
74877a1c6c
commit
7913ff2919
4 changed files with 37 additions and 19 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
./discord.nix
|
||||
./element.nix
|
||||
./firefox.nix
|
||||
./kcalc.nix
|
||||
./kitty.nix
|
||||
./netbird.nix
|
||||
./openrgb.nix
|
||||
|
|
|
|||
16
modules/common/applications/kcalc.nix
Normal file
16
modules/common/applications/kcalc.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue