added mroe packages

This commit is contained in:
fwastring 2025-11-23 12:31:01 +01:00
parent 517bba2149
commit 48bb58e1bc
10 changed files with 122 additions and 215 deletions

View file

@ -15,10 +15,16 @@
};
};
nix.registry = (lib.mapAttrs (_: flake: { inherit flake; })) (
(lib.filterAttrs (_: lib.isType "flake")) inputs
);
nix.nixPath = [ "/etc/nix/path" ];
nix = {
registry = (lib.mapAttrs (_: flake: { inherit flake; })) (
(lib.filterAttrs (_: lib.isType "flake")) inputs
);
nixPath = [ "/etc/nix/path" ];
settings = {
experimental-features = "nix-command flakes";
auto-optimise-store = true;
};
};
users.defaultUserShell = pkgs.bash;
documentation.man.generateCaches = false;
programs.fish = {
@ -29,8 +35,6 @@
plymouth = {
enable = true;
};
# Enable "Silent boot"
consoleLogLevel = 3;
initrd.verbose = false;
kernelParams = [
@ -40,10 +44,18 @@
"udev.log_priority=3"
"rd.systemd.show_status=auto"
];
# Hide the OS choice for bootloaders.
# It's still possible to open the bootloader list by pressing any key
# It will just not appear on screen unless a key is pressed
loader.timeout = 0;
loader = {
timeout = 0;
efi = {
canTouchEfiVariables = true;
};
systemd-boot.enable = true;
grub = {
efiSupport = true;
efiInstallAsRemovable = true;
device = "nodev";
};
};
};
programs.bash = {
@ -60,11 +72,6 @@
value.source = value.flake;
}) config.nix.registry;
nix.settings = {
experimental-features = "nix-command flakes";
auto-optimise-store = true;
};
virtualisation = {
docker = {
enable = true;
@ -72,8 +79,6 @@
};
};
networking.networkmanager.enable = true;
environment.sessionVariables = {
EDITOR = "nvim";
VISUAL = "nvim";
@ -101,19 +106,6 @@
LC_TIME = "sv_SE.UTF-8";
};
boot = {
loader = {
efi = {
canTouchEfiVariables = true;
};
systemd-boot.enable = true;
grub = {
efiSupport = true;
efiInstallAsRemovable = true;
device = "nodev";
};
};
};
console.keyMap = "sv-latin1";
programs.bat = {
@ -121,10 +113,13 @@
};
services.tailscale.enable = true;
networking.firewall = {
checkReversePath = "loose";
trustedInterfaces = [ "tailscale0" ];
allowedUDPPorts = [ config.services.tailscale.port ];
networking = {
networkmanager.enable = true;
firewall = {
checkReversePath = "loose";
trustedInterfaces = [ "tailscale0" ];
allowedUDPPorts = [ config.services.tailscale.port ];
};
};
services = {

View file

@ -287,6 +287,7 @@ with lib;
# Screencapture
"$mod SHIFT, s, exec, ${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp)\" - | ${pkgs.wl-clipboard}/bin/wl-copy -t image/png"
"$mod SHIFT, c, exec, ${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp)\" \"$HOME/$(date +screenshot-%Y%m%d-%H%M%S.png)\""
# special
"SUPER+SHIFT, code:201, exec, confetti"

View file

@ -1,30 +1,34 @@
{
inputs,
lib,
config,
pkgs,
...
}:
{
options = {
typescript.enable = lib.mkEnableOption "enables kubernetes-tools";
};
environment.systemPackages = with pkgs; [
nixd
gopls
omnisharp-roslyn
dockerfile-language-server
bash-language-server
helm-ls
yaml-language-server
lua-language-server
marksman
tofu-ls
config = lib.mkIf config.kubernetes-tools.enable {
environment.systemPackages = with pkgs; [
nixd
gopls
omnisharp-roslyn
dockerfile-language-server
bash-language-server
helm-ls
yaml-language-server
lua-language-server
marksman
tofu-ls
# nodejs_22
# vue-language-server
# vtsls
# typescript
# typescript-language-server
# nodePackages.vscode-json-languageserver
# tailwindcss-language-server
];
# nodejs_22
# vue-language-server
# vtsls
# typescript
# typescript-language-server
# nodePackages.vscode-json-languageserver
# tailwindcss-language-server
];
};
}

View file

@ -5,7 +5,6 @@
lib,
config,
pkgs,
myhostname,
...
}:
{
@ -24,9 +23,6 @@
nmap
ipcalc
# openvpn
# openssh
# wireguard-tools
# (octodns.withProviders (ps: [
# octodns-providers.gandi
# ]))

View file

@ -30,7 +30,7 @@
drawio
evince
spotify
angryipscanner
firefox
# ansible
# freecad-wayland

View file

@ -1,5 +1,3 @@
# This is your system's configuration file.
# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix)
{
inputs,
lib,
@ -10,12 +8,6 @@
}:
{
# services.pcscd.enable = true;
# programs.gnupg.agent = {
# enable = true;
# enableSSHSupport = true;
# };
programs.nh = {
enable = true;
clean.enable = true;
@ -24,24 +16,16 @@
};
environment.systemPackages = with pkgs; [
# Bluetooth
bluez
bluez-tools
# Zathura
poppler-utils
# Transform
imagemagick
pandoc
# Sound
alsa-utils
# Monitor
# brightnessctl
# System
sops
libnotify
unzip
@ -55,46 +39,31 @@
grc
vim
fastfetch
bc
# system call monitoring
strace # system call monitoring
lsof # list open files
# system tools
sysstat
lm_sensors # for `sensors` command
lm_sensors
ethtool
pciutils # lspci
usbutils # lsusb
pciutils
usbutils
# Files
fzf
eza
rsync
# dust
ripgrep
fd
# Misc
lolcat
fortune
cowsay
# Security
openssl
# Git
lazygit
hyprpicker
# Typesetting
typst
typstyle
tinymist
# websocat
# nix-search-cli
# libsixel
(
let