Update and add hyperpapr

This commit is contained in:
Torjus Håkestad 2024-02-29 10:17:13 +01:00
parent e7d4580c6e
commit e61a8f1d65
4 changed files with 10 additions and 9 deletions

View File

@ -22,11 +22,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1708984720,
"narHash": "sha256-gJctErLbXx4QZBBbGp78PxtOOzsDaQ+yw1ylNQBuSUY=",
"lastModified": 1709150264,
"narHash": "sha256-HofykKuisObPUfj0E9CJVfaMhawXkYx3G8UIFR/XQ38=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "13aff9b34cc32e59d35c62ac9356e4a41198a538",
"rev": "9099616b93301d5cf84274b184a3a5ec69e94e08",
"type": "github"
},
"original": {

View File

@ -1,10 +1,10 @@
{ inputs, self, user, ... }: {
{ pkgs, inputs, self, user, ... }: {
imports = [ inputs.home-manager.nixosModules.home-manager ];
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
extraSpecialArgs = { inherit inputs user; };
users.${user} = {
extraSpecialArgs = { inherit pkgs inputs user; };
users.${user} = { pkgs, ... }: {
imports = [
./editor/neovim
./programs/firefox

View File

@ -1,7 +1,7 @@
{ inputs, pkgs, lib, config, ... }: {
options.hyprland.enable = lib.mkEnableOption "Hyprland";
config = {
home.packages = with pkgs; [ swww wl-clipboard cliphist hyprpaper ];
home.packages = with pkgs; [ swww wl-clipboard cliphist hyprpaper hyprlock ];
wayland.windowManager.hyprland = {
enable = true;

View File

@ -1,2 +1,3 @@
preload = ~/pics/wallpaper/1.jpg
wallpaper = eDP-1,~/pics/wallpaper/1.jpg
preload = ~/pics/wallpapers/1.jpg
wallpaper = eDP-1,~/pics/wallpapers/1.jpg
splash = false