mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-11-08 19:51:14 +00:00
Merge pull request #16 from caperren/working-branch
Trace versions of rebuild and update commands, fixes, firefox as default web handler
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
services.hardware.openrgb.enable = true;
|
services.hardware.openrgb.enable = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
btop
|
btop-cuda
|
||||||
desktop-file-utils
|
desktop-file-utils
|
||||||
dnsutils
|
dnsutils
|
||||||
ffmpeg-full
|
ffmpeg-full
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
networkmanager
|
networkmanager
|
||||||
networkmanagerapplet
|
networkmanagerapplet
|
||||||
nmap
|
nmap
|
||||||
nvtopPackages.full
|
# nvtopPackages.full # <- Build failure: https://github.com/nixos/nixpkgs/issues/456928
|
||||||
openrgb-with-all-plugins
|
openrgb-with-all-plugins
|
||||||
pciutils
|
pciutils
|
||||||
rofi-bluetooth
|
rofi-bluetooth
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
noto-fonts
|
noto-fonts
|
||||||
noto-fonts-emoji
|
noto-fonts-color-emoji
|
||||||
liberation_ttf
|
liberation_ttf
|
||||||
fira-code
|
fira-code
|
||||||
fira-code-symbols
|
fira-code-symbols
|
||||||
|
|||||||
@@ -23,9 +23,14 @@
|
|||||||
programs.bash.shellAliases = {
|
programs.bash.shellAliases = {
|
||||||
# Nix rebuild, switch
|
# Nix rebuild, switch
|
||||||
nrs = "bash -c \"cd /etc/nixos && sudo nixos-rebuild switch --flake .#$(hostname) ; exit\"";
|
nrs = "bash -c \"cd /etc/nixos && sudo nixos-rebuild switch --flake .#$(hostname) ; exit\"";
|
||||||
|
# with tracing
|
||||||
|
tnrs = "bash -c \"cd /etc/nixos && sudo nixos-rebuild switch --show-trace --flake .#$(hostname) ; exit\"";
|
||||||
|
|
||||||
|
|
||||||
# Nix flake update, rebuild, switch
|
# Nix flake update, rebuild, switch
|
||||||
nus = "bash -c \"cd /etc/nixos && sudo nix flake update && sudo nixos-rebuild switch --flake .#$(hostname) ; exit\"";
|
nus = "bash -c \"cd /etc/nixos && sudo nix flake update && nrs ; exit\"";
|
||||||
|
# with tracing
|
||||||
|
tnus = "bash -c \"cd /etc/nixos && sudo nix flake update && tnrs ; exit\"";
|
||||||
|
|
||||||
# Special cleanup, needed when efi partition runs out of space. Deletes all but the last five generations.
|
# Special cleanup, needed when efi partition runs out of space. Deletes all but the last five generations.
|
||||||
# Remember to make that partition bigger in the future...
|
# Remember to make that partition bigger in the future...
|
||||||
|
|||||||
@@ -92,6 +92,9 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
defaultApplications = {
|
defaultApplications = {
|
||||||
"application/pdf" = [ "okularApplication_pdf.desktop" ];
|
"application/pdf" = [ "okularApplication_pdf.desktop" ];
|
||||||
|
"x-scheme-handler/http" = [ "firefox.desktop" ];
|
||||||
|
"x-scheme-handler/https" = [ "firefox.desktop" ];
|
||||||
|
"text/html" = [ "firefox.desktop" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
BIN
users/caperren/dotfiles/hyprpaper/backgrounds/2.jpg
Normal file
BIN
users/caperren/dotfiles/hyprpaper/backgrounds/2.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 912 KiB |
Reference in New Issue
Block a user