Guest User

Untitled

a guest
Jul 31st, 2024
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. { config, pkgs, ... }:
  2. let
  3. home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-24.05.tar.gz";
  4. in
  5. {
  6. imports = [
  7. (import "${home-manager}/nixos")
  8. ];
  9.  
  10. # nixpkgs.hostPlatform = {
  11. # gcc.arch = "tigerlake";
  12. # gcc.tune = "tigerlake";
  13. # system = "x86_64-linux";
  14. # };
  15.  
  16. home-manager.users.harry = {
  17. /* The home.stateVersion option does not have a default and must be set */
  18. home.stateVersion = "24.05";
  19. /* Here goes the rest of your home-manager config, e.g. home.packages = [ pkgs.foo ]; */
  20. home.packages = with pkgs; [
  21. qutebrowser
  22. ranger
  23. vlc
  24. spotify
  25. freetube
  26. bibata-cursors
  27. onlyoffice-bin
  28. fastfetch
  29. stress-ng
  30. acpi
  31. armcord
  32. bat
  33. brightnessctl
  34. btop
  35. firefox
  36. kate
  37. nwg-look
  38. pwvucontrol
  39. qbittorrent
  40. stremio
  41. texlive.combined.scheme-medium
  42. texstudio
  43. wlsunset
  44. hyprshade
  45. ];
  46.  
  47. programs.fish.shellAliases = {
  48. vim = "nvim";
  49. configsys = "nvim /etc/nixos/configuration.nix";
  50. confighome = "nvim /etc/nixos/home-manager.nix";
  51. rebuildsys = "sudo nixos-rebuild switch";
  52. configbar = "nvim ~/.config/waybar/config.jsonc";
  53. configland = "nvim ~/.config/hypr/hyrpland.conf";
  54. };
  55.  
  56. programs.kitty = {
  57. enable = true;
  58. settings = {
  59. confirm_os_window_close = 0;
  60. dynamic_background_opacity = true;
  61. enable_audio_bell = true;
  62. background_opacity = "0.5";
  63. background_blur = "5";
  64. };
  65. };
  66.  
  67. home.pointerCursor = {
  68. gtk.enable = true;
  69. # x11.enable = true;
  70. package = pkgs.bibata-cursors;
  71. name = "Bibata-Modern-Classic";
  72. size = 16;
  73. };
  74.  
  75. #wayland.windowManager.hyprland.enable = true;
  76. wayland.windowManager.hyprland.systemd.variables = ["--all"];
  77. wayland.windowManager.hyprland.settings = {
  78. "$mod" = "SUPER";
  79. input.touchpad.clickfinger_behavior = true;
  80. exec-once = [
  81. "waybar"
  82. "nm-applet"
  83. "hyprshade on blue-light-filter"
  84. ];
  85. monitor = ",preferred,auto,1";
  86. gestures.workspace_swipe = true;
  87. bind = [
  88. "$mod, W, exec, qutebrowser"
  89. ", XF86AudioRaiseVolume, exec, wpctl set-sink-volume @DEFAULT_SINK@ +5%"
  90. ", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
  91. ", XF86AudioMute, exec, wpctl set-sink-mute @DEFAULT_SINK@ toggle"
  92. ", XF86AudioMicMute, exec, wpctl set-source-mute @DEFAULT_SOURCE@ toggle"
  93. ", XF86MonBrightnessDown, exec, brightnessctl set 5%-"
  94. ", XF86MonBrightnessUp, exec, brightnessctl set 5%+"
  95. ", xf86KbdBrightnessUp, exec, brightnessctl -d *::kbd_backlight set +33%"
  96. ", xf86KbdBrightnessDown, exec, brightnessctl -d *::kbd_backlight set 33%-"
  97. ];
  98. };
  99.  
  100. programs.waybar.settings = {
  101. layer = "top";
  102. position = "top";
  103. modules-left = [ "hyprland/workspaces" "hyprland/window" ];
  104. modules-center = [ ];
  105. modules-right = [ "mpd" "idle_inhibitor" "pipewire" "temperature" "cpu" "memory" "backlight" "battery" "tray" "clock" ];
  106. };
  107. };
  108. }
  109.  
Add Comment
Please, Sign In to add comment