add htop, radeontop - enable fractional scaling, enable plymouth,

This commit is contained in:
Lukas Heiligenbrunner 2023-11-10 15:22:36 +01:00
parent af270f5fae
commit 7f3f07bc97
4 changed files with 50 additions and 4 deletions

View File

@ -8,10 +8,18 @@
# Bootloader. # Bootloader.
boot.loader = { boot.loader = {
timeout = 1;
systemd-boot.enable = true; systemd-boot.enable = true;
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
}; };
boot.plymouth.enable = true;
# start kernel in quiet output mode
# boot.kernelParams = ["quiet"];
# clean temp dir on every boot
boot.tmp.cleanOnBoot = true;
# newest kernel # newest kernel
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
@ -81,7 +89,12 @@
nix.settings.auto-optimise-store = true; nix.settings.auto-optimise-store = true;
nix.gc.automatic = true; nix.gc.automatic = true;
nix.gc.dates = "daily"; nix.gc.dates = "daily";
nix.gc.options = "--delete-older-than +5"; nix.gc.options = "--delete-older-than 3d";
system.activationScripts.text =
''
# keep only last 5 generations
#nix-env --delete-generations +5 -p /nix/var/nix/profiles/system
'';
# 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

View File

@ -19,7 +19,9 @@
enable = true; enable = true;
shellAliases = { shellAliases = {
ll = "ls -l"; ll = "ls -l";
up = "nix flake update && nixos-rebuild switch --flake .#main"; up = "nix flake update && nixos-rebuild switch --flake .#laptop";
gc = "nix-env --delete-generations +5 -p /nix/var/nix/profiles/system && nix store gc";
listgen = "nix-env -p /nix/var/nix/profiles/system --list-generations";
}; };
history = { history = {
path = "${config.xdg.dataHome}/zsh/history"; path = "${config.xdg.dataHome}/zsh/history";

View File

@ -20,9 +20,15 @@
"org/gnome/mutter" = { "org/gnome/mutter" = {
dynamic-workspaces = true; dynamic-workspaces = true;
edge-tiling = true; edge-tiling = true;
experimental-features = ["scale-monitor-framebuffer"];
}; };
"org/gnome/shell" = { "org/gnome/shell" = {
favorite-apps = ["org.gnome.Nautilus.desktop" "gnome-system-monitor.desktop" "firefox.desktop" "org.gnome.Console.desktop"]; favorite-apps = [
"org.gnome.Nautilus.desktop"
"gnome-system-monitor.desktop"
"firefox.desktop"
"org.gnome.Console.desktop"
];
# set extensions # set extensions
disable-user-extensions = false; disable-user-extensions = false;
@ -31,6 +37,7 @@
enabled-extensions = [ enabled-extensions = [
"Vitals@CoreCoding.com" "Vitals@CoreCoding.com"
"tiling-assistant@leleat-on-github" "tiling-assistant@leleat-on-github"
"launch-new-instance@gnome-shell-extensions.gcampax.github.com"
]; ];
}; };
@ -50,6 +57,7 @@
"org/gnome/settings-daemon/plugins/power" = { "org/gnome/settings-daemon/plugins/power" = {
sleep-inactive-battery-type = "nothing"; sleep-inactive-battery-type = "nothing";
sleep-inactive-ac-type = "nothing"; sleep-inactive-ac-type = "nothing";
ambient-enabled = false;
}; };
}; };
@ -130,4 +138,17 @@
home.file.".p10k.zsh" = { home.file.".p10k.zsh" = {
source = ./resources/.p10k.zsh; source = ./resources/.p10k.zsh;
}; };
programs.vscode = {
enable = true;
enableExtensionUpdateCheck=true;
userSettings = {
"window.titleBarStyle" = "custom";
};
extensions = with pkgs.vscode-extensions; [
bbenoist.nix
ms-python.python
];
};
} }

View File

@ -22,9 +22,12 @@
# disable xterm # disable xterm
services.xserver.excludePackages = [ pkgs.xterm ]; services.xserver.excludePackages = [ pkgs.xterm ];
# cli util to upate hardware
services.fwupd.enable = true; services.fwupd.enable = true;
# For fingerprint support
programs.steam.enable = true; programs.steam.enable = true;
# use zsh shell
programs.zsh.enable = true; programs.zsh.enable = true;
# packages in global env # packages in global env
@ -36,6 +39,8 @@
lm_sensors lm_sensors
smartmontools smartmontools
powertop powertop
htop
radeontop
# web # web
firefox firefox
@ -47,8 +52,13 @@
flutter flutter
prusa-slicer prusa-slicer
rustup rustup
## jetbrains ides
jetbrains.idea-ultimate jetbrains.idea-ultimate
jetbrains.dataspell
kicad kicad
## R statistics stuff
rstudio rstudio
R R