Compare commits

...

6 Commits

5 changed files with 20 additions and 12 deletions

View File

@ -17,8 +17,19 @@ mkTuple: {
# Enable fractional scaling # Enable fractional scaling
experimental-features=["scale-monitor-framebuffer"]; experimental-features=["scale-monitor-framebuffer"];
}; };
"org/gnome/desktop/search-providers" = {
disabled = [
"org.gnome.Epiphany.desktop"
"org.gnome.Photos.desktop"
"org.gnome.seahorse.Application.desktop"
"org.gnome.clocks.desktop"
"org.gnome.Calendar.desktop"
"org.gnome.Calculator.desktop"
];
};
"org/gnome/desktop/interface" = { "org/gnome/desktop/interface" = {
show-battery-percentage=true; show-battery-percentage=true;
font-antialiasing="rgba";
}; };
"org/gnome/shell" = { "org/gnome/shell" = {

View File

@ -1,6 +1,8 @@
{ config, lib, pkgs, modulesPath, ... }: { config, lib, pkgs, modulesPath, ... }:
let systemInformation = import ../system/system-information.nix; in let systemInformation = import ../system/system-information.nix; in
{ {
boot.tmpOnTmpfs = true;
boot.tmpOnTmpfsSize = "75%";
boot.initrd.luks.devices = { boot.initrd.luks.devices = {
cryptoroot = { cryptoroot = {
device = systemInformation.rootPartition; device = systemInformation.rootPartition;
@ -24,6 +26,9 @@ let systemInformation = import ../system/system-information.nix; in
# https://wiki.archlinux.org/title/Power_management#Writeback_Time # https://wiki.archlinux.org/title/Power_management#Writeback_Time
"commit=120" "commit=120"
# Turn on zstd compression
"compress=zstd"
# Performance optimizations for SSD # Performance optimizations for SSD
"noatime" "noatime"
"nodiratime" "nodiratime"
@ -33,14 +38,6 @@ let systemInformation = import ../system/system-information.nix; in
# Uncomment this once the root fs is actually btrfs # Uncomment this once the root fs is actually btrfs
# fsType = "btrfs"; # fsType = "btrfs";
}; };
"/tmp" = {
device = "none";
fsType = "tmpfs";
options = [
"size=75%"
"mode=777"
];
};
"/boot/efi" = { "/boot/efi" = {
device = systemInformation.efiPartition; device = systemInformation.efiPartition;
fsType = "vfat"; fsType = "vfat";

View File

@ -30,9 +30,6 @@ pkgs: {
"dl" = "wget (kitty +kitten clipboard --get-clipboard)"; "dl" = "wget (kitty +kitten clipboard --get-clipboard)";
}; };
shellInit = '' shellInit = ''
set -x PATH ~/.cargo/bin/ ~/go/bin ~/.local/bin ~/.gem/ruby/*/bin /var/lib/flatpak/exports/bin/ $PATH
set -x KEYFILE ~/.config/void/keyfile
set fish_color_command magenta set fish_color_command magenta
set fish_color_normal white set fish_color_normal white
set fish_color_param ffffff set fish_color_param ffffff

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }@nixpkgs: with lib; { { config, pkgs, lib, ... }: with lib; {
options.environment.machineInfo = mkOption { options.environment.machineInfo = mkOption {
description = lib.mdDoc '' description = lib.mdDoc ''
Machine metadata, including stylized hostname, computer icon, etc. Machine metadata, including stylized hostname, computer icon, etc.

View File

@ -122,6 +122,7 @@ let systemInformation = import ./system/system-information.nix; in
gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-libav gst_all_1.gst-vaapi gst_all_1.gst-plugins-bad gst_all_1.gst-plugins-good gst_all_1.gst-plugins-ugly gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-libav gst_all_1.gst-vaapi gst_all_1.gst-plugins-bad gst_all_1.gst-plugins-good gst_all_1.gst-plugins-ugly
]; ];
environment.gnome.excludePackages = with pkgs.gnome; [ environment.gnome.excludePackages = with pkgs.gnome; [
gnome-software
gnome-terminal gnome-terminal
gnome-music gnome-music
gedit gedit
@ -136,6 +137,8 @@ let systemInformation = import ./system/system-information.nix; in
# List services that you want to enable: # List services that you want to enable:
services = { services = {
gnome.tracker.enable = false;
gnome.tracker-miners.enable = false;
flatpak = { flatpak = {
enable = true; enable = true;
}; };