mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
Add tungsten (#9)
Reviewed-on: https://codeberg.org/leana8959/.files/pulls/9 Co-authored-by: Léana 江 <leana.jiang+git@icloud.com> Co-committed-by: Léana 江 <leana.jiang+git@icloud.com>
This commit is contained in:
parent
1848be039a
commit
b20a752858
41 changed files with 1749 additions and 43 deletions
79
nix/configurations/tungsten/nixos/programs.nix
Normal file
79
nix/configurations/tungsten/nixos/programs.nix
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
#
|
||||
# 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;
|
||||
|
||||
# for fish
|
||||
environment.pathsToLink = [
|
||||
"/share/fish/vendor_conf.d"
|
||||
"/share/fish/vendor_completions.d"
|
||||
"/share/fish/vendor_functions.d"
|
||||
];
|
||||
|
||||
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;
|
||||
|
||||
# languagetool.enable = true;
|
||||
|
||||
url-eater = {
|
||||
enable = true;
|
||||
filters = ''
|
||||
category "Spotify" {
|
||||
params "context@open.spotify.com" "si@open.spotify.com"
|
||||
}
|
||||
category "YouTube" {
|
||||
params "si@youtu.be"
|
||||
}
|
||||
category "Instagram" {
|
||||
params "utm_source@www.instagram.com"
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
#
|
||||
# Virtualization
|
||||
#
|
||||
# {
|
||||
# virtualisation.docker.enable = true;
|
||||
# users.users."leana".extraGroups = ["docker"];
|
||||
# }
|
||||
# {
|
||||
# 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"]);
|
||||
# users.users."leana".extraGroups = ["vboxusers"];
|
||||
# }
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue