Removed mircosoft fonts

This commit is contained in:
Aleksandr Lebedev 2025-01-26 17:17:41 +01:00
parent 516a7f606f
commit e3aaa81a92

View file

@ -9,9 +9,9 @@
first-nixos-install, first-nixos-install,
inputs, inputs,
... ...
}: { }:
imports = {
[ imports = [
inputs.sops-nix.nixosModules.sops inputs.sops-nix.nixosModules.sops
inputs.stylix.nixosModules.stylix inputs.stylix.nixosModules.stylix
inputs.nixos-facter-modules.nixosModules.facter inputs.nixos-facter-modules.nixosModules.facter
@ -27,15 +27,11 @@
./modules/sops ./modules/sops
./modules/emacs ./modules/emacs
./hosts/${hwconfig.hostname} ./hosts/${hwconfig.hostname}
] ] ++ lib.optional (hwconfig.useImpermanence) ./modules/impermanence;
++ lib.optional (hwconfig.useImpermanence) ./modules/impermanence;
facter.reportPath = ./hosts/${hwconfig.hostname}/facter.json; facter.reportPath = ./hosts/${hwconfig.hostname}/facter.json;
kylekrein.services.autoUpgrade = { kylekrein.services.autoUpgrade = {
enable = true; enable = true;
pushUpdates = pushUpdates = if hwconfig.hostname == "kylekrein-homepc" then true else false;
if hwconfig.hostname == "kylekrein-homepc"
then true
else false;
configDir = "/etc/nixos-config"; configDir = "/etc/nixos-config";
user = "root"; user = "root";
}; };
@ -48,10 +44,7 @@
}; };
loader = { loader = {
systemd-boot.enable = true; systemd-boot.enable = true;
efi.canTouchEfiVariables = efi.canTouchEfiVariables = if hwconfig.hostname != "kylekrein-mac" then true else false;
if hwconfig.hostname != "kylekrein-mac"
then true
else false;
}; };
# Enable "Silent Boot" # Enable "Silent Boot"
consoleLogLevel = 0; consoleLogLevel = 0;
@ -146,7 +139,7 @@
fd fd
(pkgs.writeShellScriptBin "root-files" '' (pkgs.writeShellScriptBin "root-files" ''
${pkgs.fd}/bin/fd --one-file-system --base-directory / --type f --hidden --exclude "{tmp,etc/passwd}" ${pkgs.fd}/bin/fd --one-file-system --base-directory / --type f --hidden --exclude "{tmp,etc/passwd}"
'') #https://www.reddit.com/r/NixOS/comments/1d1apm0/comment/l5tgbwz/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button '') # https://www.reddit.com/r/NixOS/comments/1d1apm0/comment/l5tgbwz/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
gparted gparted
exfatprogs exfatprogs
kitty kitty
@ -160,8 +153,8 @@
kdePackages.qtsvg kdePackages.qtsvg
#kio-fuse #to mount remote filesystems via FUSE #kio-fuse #to mount remote filesystems via FUSE
#libsForQt5.kio-extras #extra protocols support (sftp, fish and more) #libsForQt5.kio-extras #extra protocols support (sftp, fish and more)
kdePackages.kio-fuse #to mount remote filesystems via FUSE kdePackages.kio-fuse # to mount remote filesystems via FUSE
kdePackages.kio-extras #extra protocols support (sftp, fish and more) kdePackages.kio-extras # extra protocols support (sftp, fish and more)
fastfetch fastfetch
firefox firefox
telegram-desktop telegram-desktop
@ -226,10 +219,11 @@
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
nerd-fonts.jetbrains-mono nerd-fonts.jetbrains-mono
font-awesome font-awesome
hack-font
corefonts
nerd-fonts.symbols-only nerd-fonts.symbols-only
vistafonts hack-font
# microsoft fonts:
#corefonts
#vistafonts
]; ];
environment.sessionVariables = { environment.sessionVariables = {
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
@ -362,8 +356,8 @@
}; };
# Open ports in the firewall. # Open ports in the firewall.
networking.firewall.allowedTCPPorts = [22]; networking.firewall.allowedTCPPorts = [ 22 ];
networking.firewall.allowedUDPPorts = [22]; networking.firewall.allowedUDPPorts = [ 22 ];
# Or disable the firewall altogether. # Or disable the firewall altogether.
#networking.firewall.enable = false; #networking.firewall.enable = false;
@ -377,7 +371,10 @@
nix = { nix = {
settings = { settings = {
experimental-features = ["nix-command" "flakes"]; experimental-features = [
"nix-command"
"flakes"
];
auto-optimise-store = true; auto-optimise-store = true;
substituters = [ substituters = [
"https://hyprland.cachix.org" "https://hyprland.cachix.org"