mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
77 lines
1.6 KiB
Nix
77 lines
1.6 KiB
Nix
{
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
#
|
|
# Docker
|
|
#
|
|
{
|
|
virtualisation.docker.enable = true;
|
|
me.extraGroups = ["docker"];
|
|
}
|
|
|
|
# #
|
|
# # VirtualBox
|
|
# #
|
|
# {
|
|
# virtualisation.virtualbox.host.enable = true;
|
|
# # https://discourse.nixos.org/t/issue-with-virtualbox-in-24-11/57607/2
|
|
# boot.kernelParams =
|
|
# lib.mkIf (config.boot.kernelPackages.kernel.kernelAtLeast "6.12")
|
|
# (builtins.trace "Note: a KVM kernel flag is added for virtualbox, remember to check if this is patched in upstream" ["kvm.enable_virt_at_load=0"]);
|
|
# me.extraGroups = ["vboxusers"];
|
|
# }
|
|
];
|
|
|
|
environment.systemPackages = [
|
|
pkgs.man-pages
|
|
pkgs.man-pages-posix
|
|
];
|
|
|
|
#
|
|
# Programs
|
|
#
|
|
programs = {
|
|
vim.enable = true;
|
|
vim.defaultEditor = true;
|
|
|
|
git.enable = true;
|
|
|
|
dconf.enable = true;
|
|
seahorse.enable = true;
|
|
|
|
steam.enable = true;
|
|
};
|
|
|
|
services.gnome.gnome-keyring.enable = true;
|
|
|
|
services = {
|
|
postgresql = {
|
|
enable = true;
|
|
authentication = lib.mkOverride 10 ''
|
|
local all all trust
|
|
host all all 127.0.0.1/32 trust
|
|
host all all ::1/128 trust
|
|
'';
|
|
};
|
|
|
|
fwupd.enable = true;
|
|
|
|
url-eater = {
|
|
enable = true;
|
|
filters = ''
|
|
category "Spotify" {
|
|
params "context@open.spotify.com" "si@open.spotify.com"
|
|
}
|
|
category "YouTube" {
|
|
params "si@youtu.be" "pp@youtu.be" "si@youtube.com" "pp@youtube.com"
|
|
}
|
|
category "Instagram" {
|
|
params "utm_source@instagram.com"
|
|
}
|
|
'';
|
|
};
|
|
};
|
|
}
|