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.
boot.loader = {
timeout = 1;
systemd-boot.enable = 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
boot.kernelPackages = pkgs.linuxPackages_latest;
@ -81,7 +89,12 @@
nix.settings.auto-optimise-store = true;
nix.gc.automatic = true;
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
# settings for stateful data, like file locations and database versions

View File

@ -19,7 +19,9 @@
enable = true;
shellAliases = {
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 = {
path = "${config.xdg.dataHome}/zsh/history";

View File

@ -20,9 +20,15 @@
"org/gnome/mutter" = {
dynamic-workspaces = true;
edge-tiling = true;
experimental-features = ["scale-monitor-framebuffer"];
};
"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
disable-user-extensions = false;
@ -31,6 +37,7 @@
enabled-extensions = [
"Vitals@CoreCoding.com"
"tiling-assistant@leleat-on-github"
"launch-new-instance@gnome-shell-extensions.gcampax.github.com"
];
};
@ -50,6 +57,7 @@
"org/gnome/settings-daemon/plugins/power" = {
sleep-inactive-battery-type = "nothing";
sleep-inactive-ac-type = "nothing";
ambient-enabled = false;
};
};
@ -130,4 +138,17 @@
home.file.".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
services.xserver.excludePackages = [ pkgs.xterm ];
# cli util to upate hardware
services.fwupd.enable = true;
# For fingerprint support
programs.steam.enable = true;
# use zsh shell
programs.zsh.enable = true;
# packages in global env
@ -36,6 +39,8 @@
lm_sensors
smartmontools
powertop
htop
radeontop
# web
firefox
@ -47,8 +52,13 @@
flutter
prusa-slicer
rustup
## jetbrains ides
jetbrains.idea-ultimate
jetbrains.dataspell
kicad
## R statistics stuff
rstudio
R