This commit is contained in:
Peder Bergebakken Sundt 2023-10-14 18:23:24 +02:00
parent 4a4ac47f3c
commit 0c7440c81d
7 changed files with 14 additions and 64 deletions

View File

@ -54,6 +54,17 @@
services.thermald.enable = lib.mkIf (config.nixpkgs.system == "x86_64-linux") true; services.thermald.enable = lib.mkIf (config.nixpkgs.system == "x86_64-linux") true;
# System fonts
# Nice to have when X-forwading on headless machines
fonts.fontDir.enable = true; # creates /run/current-system/sw/share/X11/fonts
fonts.enableDefaultFonts = true; # dejavu, freefont, gyre, liberation, unifont, noto-fonts-emoji
fonts.fonts = with pkgs; [
noto-fonts # includes Cousine
noto-fonts-cjk
noto-fonts-emoji
noto-fonts-extra
];
# firewall # firewall
services.fail2ban.enable = config.services.openssh.enable; services.fail2ban.enable = config.services.openssh.enable;
networking.firewall.enable = true; # default networking.firewall.enable = true; # default

View File

@ -25,7 +25,7 @@
#../../profiles/remote-builders #../../profiles/remote-builders
#../../profiles/autossh-reverse-tunnels #../../profiles/autossh-reverse-tunnels
]; ];
services.domeneshop-updater.targets = [ "bolle.pbsds.net" ]; services.domeneshop-updater.targets = [ config.networking.fqdn ];
# Networking # Networking
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
@ -57,17 +57,6 @@
# TODO: remove? Move? # TODO: remove? Move?
programs.dconf.enable = true; programs.dconf.enable = true;
# System fonts
# Nice to have when X-forwading on headless machines
fonts.fontDir.enable = true; # creates /run/current-system/sw/share/X11/fonts
fonts.enableDefaultFonts = true; # dejavu, freefont, gyre, liberation, unifont, noto-fonts-emoji
fonts.fonts = with pkgs; [
noto-fonts # includes Cousine
noto-fonts-cjk
noto-fonts-emoji
noto-fonts-extra
];
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
# on your system were taken. It's perfectly fine and recommended to leave # on your system were taken. It's perfectly fine and recommended to leave

View File

@ -45,7 +45,7 @@
../../profiles/domeneshop-dyndns # TODO: secrets ../../profiles/domeneshop-dyndns # TODO: secrets
]; ];
services.domeneshop-updater.targets = [ "garp.pbsds.net" ]; services.domeneshop-updater.targets = [ config.networking.fqdn ];
#networking.firewall.allowedTCPPorts = [ 57621 ]; # spotify local discovery #networking.firewall.allowedTCPPorts = [ 57621 ]; # spotify local discovery
@ -61,16 +61,6 @@
# TODO: remove? Move? # TODO: remove? Move?
programs.dconf.enable = true; programs.dconf.enable = true;
# System fonts
fonts.fontDir.enable = true; # creates /run/current-system/sw/share/X11/fonts
fonts.enableDefaultFonts = true; # dejavu, freefont, gyre, liberation, unifont, noto-fonts-emoji
fonts.fonts = with pkgs; [
noto-fonts # includes Cousine
noto-fonts-cjk
noto-fonts-emoji
noto-fonts-extra
];
# nvidia bad # nvidia bad
#nixpkgs.config.packageOverrides = lib.mkIf (!config.hardware.nvidia.prime.offload.enable) (pkgs: { #nixpkgs.config.packageOverrides = lib.mkIf (!config.hardware.nvidia.prime.offload.enable) (pkgs: {
nixpkgs.config.packageOverrides = (pkgs: { nixpkgs.config.packageOverrides = (pkgs: {

View File

@ -72,17 +72,6 @@
# TODO: remove? Move? # TODO: remove? Move?
programs.dconf.enable = true; programs.dconf.enable = true;
# System fonts
fonts.fontDir.enable = true; # creates /run/current-system/sw/share/X11/fonts
fonts.enableDefaultFonts = true; # dejavu, freefont, gyre, liberation, unifont, noto-fonts-emoji
fonts.fonts = with pkgs; [
noto-fonts # includes Cousine
noto-fonts-cjk
noto-fonts-emoji
noto-fonts-extra
];
# Enable touchpad support (enabled default in most desktopManager). # Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true; # services.xserver.libinput.enable = true;

View File

@ -130,25 +130,6 @@
# TODO: remove? Move? # TODO: remove? Move?
programs.dconf.enable = true; programs.dconf.enable = true;
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
#programs.mtr.enable = true;
#programs.gnupg.agent = {
# enable = true;
# enableSSHSupport = true;
#};
# System fonts
# Nice to have when X-forwading on headless machines
fonts.fontDir.enable = true; # creates /run/current-system/sw/share/X11/fonts
fonts.enableDefaultFonts = true; # dejavu, freefont, gyre, liberation, unifont, noto-fonts-emoji
fonts.fonts = with pkgs; [
noto-fonts # includes Cousine
noto-fonts-cjk
noto-fonts-emoji
noto-fonts-extra
];
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave # on your system were taken. Its perfectly fine and recommended to leave

View File

@ -103,16 +103,6 @@
# TODO: remove? Move? # TODO: remove? Move?
programs.dconf.enable = true; programs.dconf.enable = true;
# System fonts
fonts.fontDir.enable = true; # creates /run/current-system/sw/share/X11/fonts
fonts.enableDefaultFonts = true; # dejavu, freefont, gyre, liberation, unifont, noto-fonts-emoji
fonts.fonts = with pkgs; [
noto-fonts # includes Cousine
noto-fonts-cjk
noto-fonts-emoji
noto-fonts-extra
];
# nvidia bad # nvidia bad
#nixpkgs.config.packageOverrides = lib.mkIf (!config.hardware.nvidia.prime.offload.enable) (pkgs: { #nixpkgs.config.packageOverrides = lib.mkIf (!config.hardware.nvidia.prime.offload.enable) (pkgs: {
nixpkgs.config.packageOverrides = (pkgs: { nixpkgs.config.packageOverrides = (pkgs: {

View File

@ -9,7 +9,7 @@
./profiles/git.nix ./profiles/git.nix
./profiles/gtk.nix ./profiles/gtk.nix
./profiles/micro.nix ./profiles/micro.nix
./profiles/ast-rep.nix ./profiles/ast-grep.nix
./profiles/shell.nix ./profiles/shell.nix
./profiles/gh-dash.nix ./profiles/gh-dash.nix
./profiles/ssh.nix ./profiles/ssh.nix