Compare commits

..

No commits in common. "4e86eedc2dc44a38b5c0f1184a3f2396174788e0" and "465ef0b9b1f67185be6d2cbff76267c7a67be279" have entirely different histories.

5 changed files with 57 additions and 101 deletions

View File

@ -38,12 +38,11 @@ in
home.packages = with pkgs; [
nix-output-monitor
unstable.nix-output-monitor
nix-top
nix-index
nix-tree
# unstable.comma
nixd
unstable.comma
openvpn
@ -96,6 +95,7 @@ in
plasma5Packages.kdegraphics-thumbnailers
plasma5Packages.kio
plasma5Packages.kio-extras
krename
konsole # https://bugs.kde.org/show_bug.cgi?id=407990 reeee
gedit
@ -112,7 +112,7 @@ in
kdenlive
frei0r
audacity
# inkscape
inkscape
blender
mkvtoolnix
@ -199,44 +199,23 @@ in
};
};
programs.zed-editor = {
programs.vscode = {
enable = config.profiles.gui.enable;
package = pkgs.unstable.zed-editor;
extensions = [
"nix"
package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [
bbenoist.nix
rust-lang.rust-analyzer
vadimcn.vscode-lldb
] ++ lib.optionals config.nixpkgs.config.allowUnfree [
ms-vsliveshare.vsliveshare
];
userSettings = {
telemetry.metrics = false;
telemetry.diagnostics = false;
features = {
copilot = false;
};
buffer_font_family = "MesloLGS NF";
base_keymap = "VSCode";
language_overrides = {
Rust = {
inlay_hints.enabled = true;
};
};
"editor.insertSpaces" = false;
"terminal.integrated.fontFamily" = "MesloLGS NF";
};
};
# programs.vscode = {
# enable = config.profiles.gui.enable;
# package = pkgs.vscodium;
# extensions = with pkgs.vscode-extensions; [
# bbenoist.nix
# rust-lang.rust-analyzer
# vadimcn.vscode-lldb
# ] ++ lib.optionals config.nixpkgs.config.allowUnfree [
# ms-vsliveshare.vsliveshare
# ];
# userSettings = {
# "editor.insertSpaces" = false;
# "terminal.integrated.fontFamily" = "MesloLGS NF";
# };
# };
programs.git = {
enable = true;
userEmail = "daniel.olsen99@gmail.com";

View File

@ -12,10 +12,13 @@ in {
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [
fortune
lolcat
neofetch
pipes
] ++ lib.optionals config.profiles.gui.enable [
steam
prismlauncher
unstable.prismlauncher
# minetest
# dwarf-fortress-packages.dwarf-fortress-full
# superTuxKart

View File

@ -173,7 +173,7 @@ in
pkgs.dmenu
pkgs.scrot
# pkgs.neofetch
pkgs.neofetch
#pkgs.dan.colors
pkgs.xclip

View File

@ -3,23 +3,29 @@
config = lib.mkIf config.profiles.xsession.enable {
programs.kitty = {
enable = true;
font.name = "MesloLGS NF";
font.size = 12;
keybindings = {
"ctrl+shift+c" = "copy_to_clipboard";
"ctrl+shift+v" = "paste_from_clipboard";
home.file.kitty = {
target = ".config/kitty/kitty.conf";
text = ''
#term xterm-256color
font_family MesloLGS NF
font_size 12.0
background_opacity 0.7
"ctrl+plus" = "change_font_size all +2.0";
"ctrl+shift+plus" = "change_font_size all -2.0";
};
settings = {
"background_opacity" = 0.7;
};
clear_all_shortcuts yes
map ctrl+shift+c copy_to_clipboard
map ctrl+shift+v paste_from_clipboard
map ctrl+plus change_font_size all +2.0
map ctrl+shift+plus change_font_size all -2.0
'';
};
home.packages = [
pkgs.kitty
pkgs.ncurses.dev
];
};

View File

@ -14,38 +14,6 @@
# "10.10.111.103" = [ "snowbell.htb" "legacy.snowbell.htb" "management.snowbell.htb" ];
};
services.restic.backups."main" = {
repositoryFile = "/root/restic-main-repo";
passwordFile = "/root/restic-main-password";
pruneOpts = [
"--keep-last 2"
"--keep-within 3d"
"--keep-daily 7"
"--keep-weekly 5"
"--keep-monthly 12"
"--keep-yearly 5"
];
paths = [
"/home/daniel"
"/var/lib"
];
exclude = [
"/home/*/.cache"
"/home/*/.local/share/Trash"
"/home/*/.cargo"
"/home/*/.local/share/Steam/*"
"!/home/*/.local/share/Steam/compatdata"
"/home/*/mnt"
];
extraBackupArgs = [
"--one-file-system"
];
};
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
virtualisation.podman.enable = true;
@ -55,24 +23,24 @@
programs.wireshark.enable = true;
programs.wireshark.package = pkgs.wireshark;
services.mysql.enable = true;
services.mysql.package = pkgs.mariadb;
services.mysql.settings.mysqld = {
bind-address = "127.0.0.1";
port = 3306;
};
services.mysql.ensureUsers = [
{
name = "daniel";
ensurePermissions = {
"lab1.*" = "ALL PRIVILEGES";
"lab2.*" = "ALL PRIVILEGES";
"lab3.*" = "ALL PRIVILEGES";
"lab4.*" = "ALL PRIVILEGES";
"lab5.*" = "ALL PRIVILEGES";
};
}
];
# services.mysql.enable = true;
# services.mysql.package = pkgs.mariadb;
# services.mysql.settings.mysqld = {
# bind-address = "127.0.0.1";
# port = 3306;
# };
# services.mysql.ensureUsers = [
# {
# name = "daniel";
# ensurePermissions = {
# "lab1.*" = "ALL PRIVILEGES";
# "lab2.*" = "ALL PRIVILEGES";
# "lab3.*" = "ALL PRIVILEGES";
# "lab4.*" = "ALL PRIVILEGES";
# "lab5.*" = "ALL PRIVILEGES";
# };
# }
# ];
# services.create_ap.enable = false;
# services.create_ap.settings = {