fixed hyprlock and updated stablepkgs to 24.11

for some reason im having issues with startup, where i have to switch
TTY and then wait ages for waybar to show up. on the first tty i dont
have keybinds to start programs, but on the second tty i dont have my
wallpaper set properly
This commit is contained in:
Gabriella Bere 2024-12-20 17:57:37 +00:00
parent c079f07485
commit b5da18c992
3 changed files with 10 additions and 10 deletions

8
flake.lock generated
View file

@ -820,16 +820,16 @@
}, },
"stablepkgs": { "stablepkgs": {
"locked": { "locked": {
"lastModified": 1734529975, "lastModified": 1734323986,
"narHash": "sha256-ze3IJksru9dN0keqUxY0WNf8xrwfs8Ty/z9v/keyBbg=", "narHash": "sha256-m/lh6hYMIWDYHCAsn81CDAiXoT3gmxXI9J987W5tZrE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "72d11d40b9878a67c38f003c240c2d2e1811e72a", "rev": "394571358ce82dff7411395829aa6a3aad45b907",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-24.05", "ref": "nixos-24.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View file

@ -2,9 +2,9 @@
description = "main system and home configuration flake"; description = "main system and home configuration flake";
inputs = { inputs = {
# NixOS official package source, using the nixos-24.05 branch as stable and nixos-unstable as default # NixOS official package source, using the nixos-24.11 branch as stable and nixos-unstable as default
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
stablepkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; stablepkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
# Home manager using nixos-unstable # Home manager using nixos-unstable
home-manager = { home-manager = {
@ -100,7 +100,7 @@
modules = [ modules = [
./home-manager/home.nix ./home-manager/home.nix
# ./home-manager/librewolf.nix # ./home-manager/librewolf.nix
inputs.flatpaks.homeManagerModules.default inputs.flatpaks.homeManagerModules.declarative-flatpak
inputs.nixvim.homeManagerModules.default inputs.nixvim.homeManagerModules.default
inputs.stylix.homeManagerModules.stylix # Not compatible with NixOS module as they will interfere with one another, use this when building on a non-NixOS machine inputs.stylix.homeManagerModules.stylix # Not compatible with NixOS module as they will interfere with one another, use this when building on a non-NixOS machine
]; ];

View file

@ -1,4 +1,4 @@
{pkgs, ... }: { {pkgs, lib, ... }: {
programs.hyprlock = { programs.hyprlock = {
enable = true; enable = true;
settings = { settings = {
@ -9,7 +9,7 @@
no_fade_in = false; no_fade_in = false;
}; };
background = [ background = lib.mkForce [
{ {
path = "screenshot"; path = "screenshot";
blur_passes = 3; blur_passes = 3;
@ -17,7 +17,7 @@
} }
]; ];
input-field = [ input-field = lib.mkForce [
{ {
size = "200, 50"; size = "200, 50";
position = "0, -80"; position = "0, -80";