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": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1708984720, "lastModified": 1709150264,
"narHash": "sha256-gJctErLbXx4QZBBbGp78PxtOOzsDaQ+yw1ylNQBuSUY=", "narHash": "sha256-HofykKuisObPUfj0E9CJVfaMhawXkYx3G8UIFR/XQ38=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "13aff9b34cc32e59d35c62ac9356e4a41198a538", "rev": "9099616b93301d5cf84274b184a3a5ec69e94e08",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

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

View File

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

View File

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