Compare commits

...

4 Commits

Author SHA1 Message Date
9412bdf39e prettierrc fix 2024-11-14 10:27:55 +01:00
bbde8b0c09 printer edit 2024-11-14 10:23:59 +01:00
89bbc437ae .prettierrc 2024-11-14 10:23:27 +01:00
455f0022c4 hacking config 2024-11-14 10:23:00 +01:00
5 changed files with 46 additions and 8 deletions

4
config/.prettierrc Normal file
View File

@ -0,0 +1,4 @@
{
"tabWidth": 4,
"useTabs": true
}

View File

@ -1,6 +1,3 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{
inputs,
config,
@ -24,9 +21,9 @@
stylix = {
enable = true;
image = ./aurora_borealis.png;
#base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
#base16Scheme = "${pkgs.base16-schemes}/share/themes/onedark.yaml";
base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-dark.yaml";
#base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-dark.yaml";
polarity = "dark";
autoEnable = true;
@ -67,6 +64,23 @@
hardware.bluetooth.enable = true; # enables support for Bluetooth
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
services.blueman.enable = true;
services.printing.enable = true;
services.printing.drivers = with pkgs; [gutenprint hplip splix];
hardware.printers = {
ensurePrinters = [
{
name = "HP_psc_1200_series";
location = "Home";
deviceUri = "usb://HP/psc%201200%20series?serial=UA51SGB35WT0&interface=1";
model = "HP_psc_1200_series.ppd";
ppdOptions = {
PageSize = "A4";
};
}
];
ensureDefaultPrinter = "HP_psc_1200_series";
};
# Set your time zone.
time.timeZone = "Europe/Prague";
@ -219,9 +233,6 @@
variant = "";
};
# Enable CUPS to print documents.
services.printing.enable = true;
# Enable sound with pipewire.
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;

View File

@ -60,6 +60,7 @@
".config/hypr/mocha.conf".source = ../config/mocha.conf;
".config/hypr/hypridle.conf".source = ../config/hypridle.conf;
".config/dolphinrc".source = ../config/dolphinrc;
".prettierrc".source = ../config/.prettierrc;
# # You can also set the file content immediately.
# ".gradle/gradle.properties".text = ''

View File

@ -0,0 +1,21 @@
{
lib,
pkgs,
config,
...
}: {
options = {
hacking.enable = lib.mkEnableOption "enable Hacking module";
};
config = lib.mkIf config.hacking.enable {
home.packages = with pkgs; [
ffuf
wireshark
termshark
nmap
netcat-openbsd
bettercap
];
};
}

View File

@ -71,6 +71,7 @@
tldr
ranger
spicetify-cli
unzip
];
};
}