Update and fix the networkmanager-wait-online shit

This commit is contained in:
2023-09-10 00:09:22 +01:00
parent 75c53fd412
commit cfb3d63efc
3 changed files with 25 additions and 20 deletions

38
flake.lock generated
View File

@@ -141,11 +141,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1692200694, "lastModified": 1694134858,
"narHash": "sha256-A8hHkA+sJ04Agvu9OoVJ3ouak1e2hze9Ev+c71oGLAk=", "narHash": "sha256-fG/ESauOGmiojKlpJG8gB62dJa5Wd+ZIuiDMKK/HD3g=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "9db5b89f40736943d017a761da044479044be182", "rev": "19c6a4081b14443420358262f8416149bd79561a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -164,11 +164,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1692202599, "lastModified": 1694258717,
"narHash": "sha256-wxaOnVUn6h0xQOKCiuR6JpSaVmokVglQ4KTcm53bwhQ=", "narHash": "sha256-lyCPTYvD6P7JEmUUb2OAd3QUGEUgg8pOF1LJ4V95DgY=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "7e8a21202729ca806cd244fb37e5b45abb4cc69b", "rev": "1a6f961de2eff84e4725255f09d33395c4a52fcc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -247,11 +247,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1691654369, "lastModified": 1693844670,
"narHash": "sha256-gSILTEx1jRaJjwZxRlnu3ZwMn1FVNk80qlwiCX8kmpo=", "narHash": "sha256-t69F2nBB8DNQUWHD809oJZJVE+23XBrth4QZuVd6IE0=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e", "rev": "3c15feef7770eb5500a4b8792623e2d6f598c9c1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -263,11 +263,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1692174805, "lastModified": 1693985761,
"narHash": "sha256-xmNPFDi/AUMIxwgOH/IVom55Dks34u1g7sFKKebxUm0=", "narHash": "sha256-K5b+7j7Tt3+AqbWkcw+wMeqOAWyCD1MH26FPZyWXpdo=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "caac0eb6bdcad0b32cb2522e03e4002c8975c62e", "rev": "0bffda19b8af722f8069d09d8b6a24594c80b352",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -321,18 +321,18 @@
"flake": false, "flake": false,
"locked": { "locked": {
"host": "gitlab.freedesktop.org", "host": "gitlab.freedesktop.org",
"lastModified": 1691073628, "lastModified": 1692976565,
"narHash": "sha256-LlxE3o3UzRY7APYVLGNKM30DBMcDifCRIQiMVSbYLIc=", "narHash": "sha256-eBKkG7tMxg92NskEn8dHRFY245JwjirWRoOZzW6DnUw=",
"owner": "wlroots", "owner": "wlroots",
"repo": "wlroots", "repo": "wlroots",
"rev": "c74f89d4f84bfed0284d3908aee5d207698c70c5", "rev": "717ded9bb0191ea31bf4368be32e7a15fe1b8294",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
"host": "gitlab.freedesktop.org", "host": "gitlab.freedesktop.org",
"owner": "wlroots", "owner": "wlroots",
"repo": "wlroots", "repo": "wlroots",
"rev": "c74f89d4f84bfed0284d3908aee5d207698c70c5", "rev": "717ded9bb0191ea31bf4368be32e7a15fe1b8294",
"type": "gitlab" "type": "gitlab"
} }
}, },
@@ -352,11 +352,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1691841170, "lastModified": 1694025408,
"narHash": "sha256-RCTm1/MVWYPnReMgyp7tr2ogGYo/pvw38jZaFwemgPU=", "narHash": "sha256-oJNhGfZH8Z2w3ztXdzsYVg32//cWEcPVDM3+tp/ZVfU=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "xdg-desktop-portal-hyprland", "repo": "xdg-desktop-portal-hyprland",
"rev": "57a3a41ba6b358109e4fc25c6a4706b5f7d93c6b", "rev": "022469529c8bc95acf222dc5a62389b04c8b1205",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -16,6 +16,12 @@
networkmanager.enable = true; networkmanager.enable = true;
}; };
systemd.services.NetworkManager-wait-online = {
serviceConfig = {
ExecStart = ["" "${pkgs.networkmanager}/bin/nm-online -q"];
};
};
security.pam.services.swaylock = {}; security.pam.services.swaylock = {};
age.secrets = { age.secrets = {

View File

@@ -7,7 +7,6 @@
}: { }: {
programs.waybar = { programs.waybar = {
enable = true; enable = true;
package = pkgs.waybar-hyprland;
settings = { settings = {
main = lib.importJSON ./config.json; main = lib.importJSON ./config.json;
}; };