mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-11 23:07:53 -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;
|
discord.enable = true;
|
||||||
element.enable = true;
|
element.enable = true;
|
||||||
firefox.enable = true;
|
firefox.enable = true;
|
||||||
|
kcalc.enable = true;
|
||||||
kitty.enable = true;
|
kitty.enable = true;
|
||||||
# netbird.enable = true; See netbird.nix (I can't access the sops stuff from here?)
|
# netbird.enable = true; See netbird.nix (I can't access the sops stuff from here?)
|
||||||
openrgb.enable = true;
|
openrgb.enable = true;
|
||||||
|
|
@ -80,25 +81,6 @@ inputs.nixpkgs.lib.nixosSystem {
|
||||||
tailscale.enable = true;
|
tailscale.enable = true;
|
||||||
|
|
||||||
# TODO: Move this out
|
# 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 = {
|
nix.gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
./discord.nix
|
./discord.nix
|
||||||
./element.nix
|
./element.nix
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
|
./kcalc.nix
|
||||||
./kitty.nix
|
./kitty.nix
|
||||||
./netbird.nix
|
./netbird.nix
|
||||||
./openrgb.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" ];
|
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG9NhsAOBwWBdBeenfaPoRtqQrAIgg7E5m4sKYQU9cFx annika@kim" ];
|
||||||
hashedPasswordFile = config.sops.secrets.annika_password.path;
|
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