🪛 Unstable in home-manager, new wallpapers, .NET

- Added unstable overlay in order to fetch pkgs from unstable
- Changed Zed-editor to unstable
- Commented turn off screen timeout, still buggy
- Added new Catppuccin wallpapers
- Changed secondary colours on lock screen to fit wallpaper
- Removed <i/> on lock screen
- Added Rider, .NET 9 adn ASP.NET 9
- Readded EDITOR env to nvim
This commit is contained in:
Martin Berg Alstad 2025-01-16 20:04:50 +01:00
parent b12c09719a
commit 3005b55e89
Signed by: martials
GPG Key ID: 706F53DD087A91DE
14 changed files with 43 additions and 23 deletions

View File

@ -29,6 +29,8 @@ in
./yazi ./yazi
]; ];
catppuccin.cursors.enable = true;
home = { home = {
username = username; username = username;
homeDirectory = dir.home; homeDirectory = dir.home;

View File

@ -4,4 +4,6 @@
./nixvim ./nixvim
./zed.nix ./zed.nix
]; ];
# TODO set Walyland vmOptions in Jetbrains products, Requires current installed version
# -Dawt.toolkit.name=WLToolKit
} }

View File

@ -2,6 +2,8 @@
{ {
catppuccin.nvim.enable = true; catppuccin.nvim.enable = true;
home.sessionVariables.EDITOR = "nvim";
programs.nixvim = { programs.nixvim = {
enable = true; enable = true;
clipboard.providers.wl-copy.enable = true; clipboard.providers.wl-copy.enable = true;

View File

@ -1,6 +1,9 @@
{ pkgs, ... }:
{ {
programs.zed-editor = { programs.zed-editor = {
enable = true; enable = true;
package = pkgs.unstable.zed-editor;
extensions = [ extensions = [
"html" "html"
"catppuccin" "catppuccin"

View File

@ -9,6 +9,7 @@
currentLocale = "en-GB"; currentLocale = "en-GB";
defaultTheatreMode = true; defaultTheatreMode = true;
defaultQuality = "1080"; defaultQuality = "1080";
displayVideoPlayButton = false;
region = "NO"; region = "NO";
useSponsorBlock = true; useSponsorBlock = true;

View File

@ -1,4 +1,6 @@
# Home configurations for Hyprland. For system configs, see ./modules/hyprland # Home configurations for Hyprland. For system configs, see ./modules/hyprland
{ outputs, ... }:
{ {
imports = [ imports = [
./binds.nix ./binds.nix
@ -13,6 +15,9 @@
./swaync ./swaync
]; ];
# Adds pkgs.unstable in order to fetch packages from unstable repositories
nixpkgs.overlays = [ outputs.overlays.unstable-packages ];
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
systemd.variables = [ "--all" ]; # Import environment into systemd systemd.variables = [ "--all" ]; # Import environment into systemd

View File

@ -1,7 +1,7 @@
let let
# Time in seconds # Time in seconds
lockAfter = 1200; lockAfter = 1200;
screenOffAfter = 1500; #screenOffAfter = 1500;
suspendAfter = 7200; suspendAfter = 7200;
in in
{ {
@ -20,12 +20,12 @@ in
timeout = lockAfter; timeout = lockAfter;
on-timeout = "loginctl lock-session"; on-timeout = "loginctl lock-session";
} }
# Turn off screens # Turn off screens TODO still buggy on DP-1
{ # {
timeout = screenOffAfter; # timeout = screenOffAfter;
on-timeout = "hyprctl dispatch dpms off"; # on-timeout = "hyprctl dispatch dpms off";
on-resume = "hyprctl dispatch dpms on"; # on-resume = "hyprctl dispatch dpms on";
} # }
# Suspend # Suspend
{ {
timeout = suspendAfter; timeout = suspendAfter;

View File

@ -10,7 +10,7 @@ in
background = [ background = [
{ {
path = "${../../../wallpapers/tropic_island_night.jpg}"; path = "${../../../wallpapers/catppuccin_page_curl.png}";
} }
]; ];
@ -57,7 +57,7 @@ in
image = { image = {
path = "${../../face.png}"; path = "${../../face.png}";
size = 100; size = 100;
border_color = "${theme.mauveRgb}"; border_color = "${theme.blueRgb}";
position = "0, 75"; position = "0, 75";
halign = "center"; halign = "center";
valign = "center"; valign = "center";
@ -70,13 +70,13 @@ in
dots_size = 0.2; dots_size = 0.2;
dots_spacing = 0.2; dots_spacing = 0.2;
dots_center = true; dots_center = true;
outer_color = lib.mkDefault "${theme.mauveRgb}"; outer_color = lib.mkDefault "${theme.blueRgb}";
inner_color = lib.mkDefault "${theme.surface0Rgb}"; inner_color = lib.mkDefault "${theme.surface0Rgb}";
font_color = lib.mkDefault "${theme.textRgb}"; font_color = lib.mkDefault "${theme.textRgb}";
fade_on_empty = false; fade_on_empty = false;
placeholder_text = "<span foreground=\"##${theme.textAlpha}\"><i>󰌾 Logged in as </i><span foreground=\"##${theme.mauveAlpha}\">$USER</span></span>"; placeholder_text = "<span foreground=\"##${theme.textAlpha}\">󰌾 Logged in as <span foreground=\"##${theme.blueAlpha}\">$USER</span></span>";
hide_input = false; hide_input = false;
check_color = lib.mkDefault "${theme.mauveRgb}"; check_color = lib.mkDefault "${theme.blueRgb}";
fail_color = lib.mkDefault "${theme.redRgb}"; fail_color = lib.mkDefault "${theme.redRgb}";
fail_text = "<i>$FAIL <b>($ATTEMPTS)</b></i>"; fail_text = "<i>$FAIL <b>($ATTEMPTS)</b></i>";
capslock_color = lib.mkDefault "${theme.yellowRgb}"; capslock_color = lib.mkDefault "${theme.yellowRgb}";

View File

@ -27,7 +27,6 @@
wallpaper = [ wallpaper = [
"DP-1,${monitor1}" "DP-1,${monitor1}"
"DP-3,${monitor2}" "DP-3,${monitor2}"
w
]; ];
}; };
}; };

View File

@ -5,8 +5,11 @@
# IDEs # IDEs
jetbrains.rust-rover jetbrains.rust-rover
jetbrains.webstorm jetbrains.webstorm
jetbrains.rider
vscodium # TODO set up extensions vscodium # TODO set up extensions
# Tools # Tools
dotnet-sdk_9
dotnet-aspnetcore_9
git git
rustup rustup
nodejs nodejs

View File

@ -8,16 +8,18 @@
programs.gnupg.agent.enable = true; programs.gnupg.agent.enable = true;
security.pam = { security = {
services = { pam = {
login.u2fAuth = false; # U2F and password services = {
sudo.u2fAuth = true; # U2F or password login.u2fAuth = false; # U2F and password
}; sudo.u2fAuth = true; # U2F or password
u2f = { };
enable = true; u2f = {
settings = { enable = true;
cue = true; # Prompt: Please touch the device settings = {
interactive = false; # Prompt: Insert your U2F device, then press ENTER. cue = true; # Prompt: Please touch the device
interactive = false; # Prompt: Insert your U2F device, then press ENTER.
};
}; };
}; };
}; };

View File

@ -22,6 +22,7 @@ rec {
skyAlpha = "89dceb"; skyAlpha = "89dceb";
sapphireAlpha = "74c7ec"; sapphireAlpha = "74c7ec";
blueAlpha = "89b4fa"; blueAlpha = "89b4fa";
blueRgb = "rgb(${blueAlpha})";
lavenderAlpha = "b4befe"; lavenderAlpha = "b4befe";
textAlpha = "cdd6f4"; textAlpha = "cdd6f4";
textRgb = "rgb(${textAlpha})"; textRgb = "rgb(${textAlpha})";

Binary file not shown.

After

Width:  |  Height:  |  Size: 808 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 MiB