diff --git a/flake.lock b/flake.lock index b88fab2..833423a 100644 --- a/flake.lock +++ b/flake.lock @@ -117,11 +117,11 @@ ] }, "locked": { - "lastModified": 1679480702, - "narHash": "sha256-npuRD61YmxUPitI1TqKwlxLrU6iGl5E+BPT196LgUDo=", + "lastModified": 1679786039, + "narHash": "sha256-VNjswu0Q4bZOkWNuc0+dHvRdjUCj+MnDlRfw/Q0R3vI=", "owner": "nix-community", "repo": "home-manager", - "rev": "363c46b2480f1b73ec37cf68caac61f5daa82a2e", + "rev": "cf662b6c98a0da81e06066fff0ecf9cbd4627727", "type": "github" }, "original": { @@ -132,23 +132,19 @@ }, "hyprland": { "inputs": { - "hyprland-protocols": [ - "hyprland-protocols" - ], - "nixpkgs": [ - "nixpkgs" - ], + "hyprland-protocols": "hyprland-protocols", + "nixpkgs": "nixpkgs", "wlroots": "wlroots", "xdph": [ "xdph" ] }, "locked": { - "lastModified": 1679576723, - "narHash": "sha256-1DS+XC2pggl430sP+7FunrF9CPldjAxbsHJg0ZfxRqo=", + "lastModified": 1679792424, + "narHash": "sha256-EFXGWV13DcTO/6jaLf/zoAFOsQMCMPE8YMeXpSeUjNY=", "owner": "hyprwm", "repo": "Hyprland", - "rev": "463690a27ac9c921d34dad7169a3d2c8cea5b46f", + "rev": "3343aac6bf6aa601cb882859edf63a6cb59bb774", "type": "github" }, "original": { @@ -160,15 +156,37 @@ "hyprland-protocols": { "inputs": { "nixpkgs": [ + "hyprland", "nixpkgs" ] }, "locked": { - "lastModified": 1673631087, - "narHash": "sha256-gkLgUg9/fP04bKCJMj/rN0r6PV/cbLShDvKQyFvVap0=", + "lastModified": 1671839510, + "narHash": "sha256-+PY1qqJfmZzzROgcIY4I7AkCwpnC+qBIYk2eFoA9RWc=", "owner": "hyprwm", "repo": "hyprland-protocols", - "rev": "eb7dcc0132ad25addc3e8d434c4bfae6bd3a8c90", + "rev": "b8f55e02a328c47ed373133c52483bbfa20a1b75", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprland-protocols", + "type": "github" + } + }, + "hyprland-protocols_2": { + "inputs": { + "nixpkgs": [ + "xdph", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1671839510, + "narHash": "sha256-+PY1qqJfmZzzROgcIY4I7AkCwpnC+qBIYk2eFoA9RWc=", + "owner": "hyprwm", + "repo": "hyprland-protocols", + "rev": "b8f55e02a328c47ed373133c52483bbfa20a1b75", "type": "github" }, "original": { @@ -238,11 +256,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1679224149, - "narHash": "sha256-TSY37Zv0icF/aijR3/KWGLVBlnKKHlG9QTj7vHbF/UU=", + "lastModified": 1679765008, + "narHash": "sha256-VCkg/wC2e882suYDS5PDAemaMLYSOdFm4fsx2gowMR0=", "owner": "nixos", "repo": "nixos-hardware", - "rev": "a4bc66709604ab78abc575b60baa6d23ae027a59", + "rev": "f38f9a4c9b2b6f89a5778465e0afd166a8300680", "type": "github" }, "original": { @@ -253,15 +271,15 @@ }, "nixpkgs": { "locked": { - "lastModified": 1679437018, - "narHash": "sha256-vOuiDPLHSEo/7NkiWtxpHpHgoXoNmrm+wkXZ6a072Fc=", - "owner": "nixos", + "lastModified": 1679172431, + "narHash": "sha256-XEh5gIt5otaUbEAPUY5DILUTyWe1goAyeqQtmwaFPyI=", + "owner": "NixOS", "repo": "nixpkgs", - "rev": "19cf008bb18e47b6e3b4e16e32a9a4bdd4b45f7e", + "rev": "1603d11595a232205f03d46e635d919d1e1ec5b9", "type": "github" }, "original": { - "owner": "nixos", + "owner": "NixOS", "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" @@ -300,11 +318,11 @@ }, "nixpkgs-stable_2": { "locked": { - "lastModified": 1679163677, - "narHash": "sha256-VC0tc3EjJZFPXgucFQAYMIHce5nJWYR0kVCk4TVg6gg=", + "lastModified": 1679748960, + "narHash": "sha256-BP8XcYHyj1NxQi04RpyNW8e7KiXSoI+Fy1tXIK2GfdA=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c3912035d00ef755ab19394488b41feab95d2e40", + "rev": "da26ae9f6ce2c9ab380c0f394488892616fc5a6a", "type": "github" }, "original": { @@ -314,6 +332,38 @@ "type": "github" } }, + "nixpkgs_2": { + "locked": { + "lastModified": 1679705136, + "narHash": "sha256-MDlZUR7wJ3PlPtqwwoGQr3euNOe0vdSSteVVOef7tBY=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "8f40f2f90b9c9032d1b824442cfbbe0dbabd0dbd", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_3": { + "locked": { + "lastModified": 1669969257, + "narHash": "sha256-mOS13sK3v+kfgP+1Mh56ohiG8uVhLHAo7m/q9kqAehc=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "b72b8b94cf0c012b0252a9100a636cad69696666", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "nixvim": { "inputs": { "beautysh": "beautysh", @@ -326,11 +376,11 @@ "pre-commit-hooks": "pre-commit-hooks" }, "locked": { - "lastModified": 1679493650, - "narHash": "sha256-9wVDJ8rF/vdCwps6q+tLe7vxe5WSmCsCsG3ylHwdvmw=", + "lastModified": 1679821431, + "narHash": "sha256-gc0f+fd3qi3iaZrFaCykk3idULqXLkYz4ZnWJJZNSUo=", "owner": "pta2002", "repo": "nixvim", - "rev": "2550c919a5acac86ccf79972273a9193c6c77869", + "rev": "7f50b54bfb999671778f17192d75b8c23c6d75b9", "type": "github" }, "original": { @@ -396,12 +446,11 @@ "flake-utils": "flake-utils", "home-manager": "home-manager", "hyprland": "hyprland", - "hyprland-protocols": "hyprland-protocols", "hyprpaper": "hyprpaper", "nix-colors": "nix-colors", "nix-index-database": "nix-index-database", "nixos-hardware": "nixos-hardware", - "nixpkgs": "nixpkgs", + "nixpkgs": "nixpkgs_2", "nixvim": "nixvim", "sops-nix": "sops-nix", "xdph": "xdph" @@ -415,11 +464,11 @@ "nixpkgs-stable": "nixpkgs-stable_2" }, "locked": { - "lastModified": 1679377997, - "narHash": "sha256-O8rmc/b/qgNgoHj2tL5+3Ovkj7A+Sok7gazRoWbpnqg=", + "lastModified": 1679799335, + "narHash": "sha256-YrnDyftm0Mk4JLuw3sDBPNfSjk054N0dqQx8FW4JqDM=", "owner": "Mic92", "repo": "sops-nix", - "rev": "d8827a8368c307fbc6ed594c9a31d619e7360bed", + "rev": "4740f80ca6e756915aaaa0a9c5fbb61ba09cc145", "type": "github" }, "original": { @@ -463,12 +512,8 @@ }, "xdph": { "inputs": { - "hyprland-protocols": [ - "hyprland-protocols" - ], - "nixpkgs": [ - "nixpkgs" - ] + "hyprland-protocols": "hyprland-protocols_2", + "nixpkgs": "nixpkgs_3" }, "locked": { "lastModified": 1679254736, diff --git a/flake.nix b/flake.nix index d2847fe..82772a1 100644 --- a/flake.nix +++ b/flake.nix @@ -33,24 +33,14 @@ inputs.nixpkgs.follows = "nixpkgs"; }; - hyprland-protocols = { - url = github:hyprwm/hyprland-protocols; - inputs.nixpkgs.follows = "nixpkgs"; - }; xdph = { url = github:hyprwm/xdg-desktop-portal-hyprland; - inputs = { - nixpkgs.follows = "nixpkgs"; - hyprland-protocols.follows = "hyprland-protocols"; - }; }; hyprland = { url = github:hyprwm/Hyprland; inputs = { - nixpkgs.follows = "nixpkgs"; - hyprland-protocols.follows = "hyprland-protocols"; xdph.follows = "xdph"; }; }; @@ -93,6 +83,10 @@ home-manager.nixosModules.home-manager sops-nix.nixosModules.sops { + nix.settings = { + substituters = [ "https://hyprland.cachix.org" ]; + trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ]; + }; home-manager.extraSpecialArgs = attrs; home-manager.users.rouven = { imports = [ diff --git a/hosts/nuc/modules/nextcloud/default.nix b/hosts/nuc/modules/nextcloud/default.nix index 0b68b15..9baeadd 100644 --- a/hosts/nuc/modules/nextcloud/default.nix +++ b/hosts/nuc/modules/nextcloud/default.nix @@ -26,7 +26,7 @@ in nextcloud = { enable = true; - package = pkgs.nextcloud25; # Use current latest nextcloud package + package = pkgs.nextcloud26; # Use current latest nextcloud package hostName = "${domain}"; https = true; # Use https for all urls config = { diff --git a/users/rouven/modules/git/default.nix b/users/rouven/modules/git/default.nix index 61442dd..9924dbb 100644 --- a/users/rouven/modules/git/default.nix +++ b/users/rouven/modules/git/default.nix @@ -4,7 +4,7 @@ programs.git = { enable = true; userName = "Rouven Seifert"; - userEmail = config.accounts.email.accounts."TU-Dresden".address; + userEmail = "rouven@rfive.de"; extraConfig = { core.pager = "delta"; interactive.diffFilter = "delta --color-only"; diff --git a/users/rouven/modules/zsh/default.nix b/users/rouven/modules/zsh/default.nix index 2fac71e..b097bdb 100644 --- a/users/rouven/modules/zsh/default.nix +++ b/users/rouven/modules/zsh/default.nix @@ -54,9 +54,9 @@ '' function c() { if [ $# -eq 0 ]; then - cd $(find -maxdepth 4 -not -path '*[cC]ache*' -not -path '*[tT]rash*' -type d | fzf --preview 'tree -C {}') + cd $(find -maxdepth 4 -not -path '*[cC]ache*' -not -path '*[tT]rash*' -type d | fzf --preview '${pkgs.tree}/bin/tree -C {}') else - $1 $(find -maxdepth 5 -not -path '*[cC]ache*' -not -path '*[tT]rash*' | fzf --preview 'tree -C {}') + $1 $(find -maxdepth 5 -not -path '*[cC]ache*' -not -path '*[tT]rash*' | fzf --preview '${pkgs.tree}/bin/tree -C {}') fi }