🪛 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
];
catppuccin.cursors.enable = true;
home = {
username = username;
homeDirectory = dir.home;

View File

@ -4,4 +4,6 @@
./nixvim
./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;
home.sessionVariables.EDITOR = "nvim";
programs.nixvim = {
enable = true;
clipboard.providers.wl-copy.enable = true;

View File

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

View File

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

View File

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

View File

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

View File

@ -10,7 +10,7 @@ in
background = [
{
path = "${../../../wallpapers/tropic_island_night.jpg}";
path = "${../../../wallpapers/catppuccin_page_curl.png}";
}
];
@ -57,7 +57,7 @@ in
image = {
path = "${../../face.png}";
size = 100;
border_color = "${theme.mauveRgb}";
border_color = "${theme.blueRgb}";
position = "0, 75";
halign = "center";
valign = "center";
@ -70,13 +70,13 @@ in
dots_size = 0.2;
dots_spacing = 0.2;
dots_center = true;
outer_color = lib.mkDefault "${theme.mauveRgb}";
outer_color = lib.mkDefault "${theme.blueRgb}";
inner_color = lib.mkDefault "${theme.surface0Rgb}";
font_color = lib.mkDefault "${theme.textRgb}";
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;
check_color = lib.mkDefault "${theme.mauveRgb}";
check_color = lib.mkDefault "${theme.blueRgb}";
fail_color = lib.mkDefault "${theme.redRgb}";
fail_text = "<i>$FAIL <b>($ATTEMPTS)</b></i>";
capslock_color = lib.mkDefault "${theme.yellowRgb}";

View File

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

View File

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

View File

@ -8,16 +8,18 @@
programs.gnupg.agent.enable = true;
security.pam = {
services = {
login.u2fAuth = false; # U2F and password
sudo.u2fAuth = true; # U2F or password
};
u2f = {
enable = true;
settings = {
cue = true; # Prompt: Please touch the device
interactive = false; # Prompt: Insert your U2F device, then press ENTER.
security = {
pam = {
services = {
login.u2fAuth = false; # U2F and password
sudo.u2fAuth = true; # U2F or password
};
u2f = {
enable = true;
settings = {
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";
sapphireAlpha = "74c7ec";
blueAlpha = "89b4fa";
blueRgb = "rgb(${blueAlpha})";
lavenderAlpha = "b4befe";
textAlpha = "cdd6f4";
textRgb = "rgb(${textAlpha})";

Binary file not shown.

After

Width:  |  Height:  |  Size: 808 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 MiB