Compare commits

...

9 commits

Author SHA1 Message Date
6a387e3586
forgejo: enable lfs && enable redis for session storage
All checks were successful
ci/woodpecker/cron/flake-lock-update Pipeline was successful
2024-05-26 16:52:48 -04:00
43a7c4a3e2
home: add navi 2024-05-26 16:51:59 -04:00
591f653019
wezterm: enable wayland 2024-05-26 16:49:38 -04:00
183ce877e3
helix: update lsps 2024-05-26 16:49:29 -04:00
1d4a7cfd63
wayland: rewrite hypr* configs again
using upstream hm modules
2024-05-26 16:48:37 -04:00
2c21185928
tsuki: enable hyprland nixos module 2024-05-26 16:43:48 -04:00
59b1056075
yuki: add twitch point miner 2024-05-26 16:43:29 -04:00
6b91be3313
nix: add overlay 2024-05-26 16:43:16 -04:00
a8568b19be
flake: add wezterm overlay & update 2024-05-26 16:43:09 -04:00
15 changed files with 416 additions and 218 deletions

View file

@ -48,11 +48,11 @@
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1716000408, "lastModified": 1716638635,
"narHash": "sha256-jIGTdIcHtRpY3fcfNUbcTv2IOVGW9srUzLrcYgK07Ik=", "narHash": "sha256-exRwSztMwH4IZ//3+Xq9hnyONVOnQ2Yo41gJRJWA78E=",
"owner": "atuinsh", "owner": "atuinsh",
"repo": "atuin", "repo": "atuin",
"rev": "95c91689441c66228cd8eb2e94e9b43a848d75f4", "rev": "2e88321aecfd1c4a7fa69a1794ecdf34a401c358",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -483,7 +483,25 @@
}, },
"flake-utils_5": { "flake-utils_5": {
"inputs": { "inputs": {
"systems": "systems_14" "systems": "systems_12"
},
"locked": {
"lastModified": 1705309234,
"narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_6": {
"inputs": {
"systems": "systems_15"
}, },
"locked": { "locked": {
"lastModified": 1710146030, "lastModified": 1710146030,
@ -499,6 +517,23 @@
"type": "github" "type": "github"
} }
}, },
"freetype2": {
"flake": false,
"locked": {
"lastModified": 1687587065,
"narHash": "sha256-+Fh+/k+NWL5Ow9sDLtp8Cv/8rLNA1oByQQCIQS/bysY=",
"owner": "wez",
"repo": "freetype2",
"rev": "e4586d960f339cf75e2e0b34aee30a0ed8353c0d",
"type": "github"
},
"original": {
"owner": "wez",
"repo": "freetype2",
"rev": "e4586d960f339cf75e2e0b34aee30a0ed8353c0d",
"type": "github"
}
},
"fromYaml": { "fromYaml": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -553,6 +588,23 @@
"type": "github" "type": "github"
} }
}, },
"harfbuzz": {
"flake": false,
"locked": {
"lastModified": 1711722720,
"narHash": "sha256-GdxcAPx5QyniSHPAN1ih28AD9JLUPR0ItqW9JEsl3pU=",
"owner": "harfbuzz",
"repo": "harfbuzz",
"rev": "63973005bc07aba599b47fdd4cf788647b601ccd",
"type": "github"
},
"original": {
"owner": "harfbuzz",
"ref": "8.4.0",
"repo": "harfbuzz",
"type": "github"
}
},
"helix": { "helix": {
"inputs": { "inputs": {
"crane": "crane_2", "crane": "crane_2",
@ -561,11 +613,11 @@
"rust-overlay": "rust-overlay_2" "rust-overlay": "rust-overlay_2"
}, },
"locked": { "locked": {
"lastModified": 1715885401, "lastModified": 1716520196,
"narHash": "sha256-Ay87mjRXLGwBtgKW+SdfrsyUlDIygPQksaZXTV9PMSM=", "narHash": "sha256-OdZe7n3+cHUnN3Lq5Ou89OEJq0kMdbnFMJeKCE+CFnc=",
"owner": "helix-editor", "owner": "helix-editor",
"repo": "helix", "repo": "helix",
"rev": "2301430e37a98192de7864faa2d8c1b84860f400", "rev": "f1c9580e4b636d014fefb61080d8d019c14e37b7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -581,11 +633,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1715930644, "lastModified": 1716668005,
"narHash": "sha256-W9pyM3/vePxrffHtzlJI6lDS3seANQ+Nqp+i58O46LI=", "narHash": "sha256-daQD/pphMJUriHiWfKo9V4Kpi7+GIAE0As47Mpko0TI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "e3ad5108f54177e6520535768ddbf1e6af54b59d", "rev": "d179da4e81bcd4227e8abf4b62b92c4ae214ae39",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -631,11 +683,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1715791817, "lastModified": 1716576411,
"narHash": "sha256-J069Uhv/gCMFLX1dSh2f+9ZTM09r1Nv3oUfocCnWKow=", "narHash": "sha256-FIN1wMoyePBTtibCbaeJaoKNLuAYIGwLCWAYC1DJanw=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprcursor", "repo": "hyprcursor",
"rev": "7c3aa03dffb53921e583ade3d4ae3f487e390e7e", "rev": "57298fc4f13c807e50ada2c986a3114b7fc2e621",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -651,11 +703,11 @@
"systems": "systems_6" "systems": "systems_6"
}, },
"locked": { "locked": {
"lastModified": 1715699575, "lastModified": 1716309977,
"narHash": "sha256-MLTUVPcRbH9i+AchIK+3SaeF3K27NGLApQCRoQEsc3s=", "narHash": "sha256-4jDQIcMDSFOOMBxVTEiC6Ck1vdc0kAFvv+StxnnE59Q=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hypridle", "repo": "hypridle",
"rev": "afa6e21b8881a4a7d01b960ee4a2421c495777aa", "rev": "cb169c4e06cec9b4349e3668427e729d22328a54",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -674,11 +726,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1716063601, "lastModified": 1716669967,
"narHash": "sha256-gAuCKupztnqai1tZ6TyCFCRbeFzbggL0Oe0vl0/cwK8=", "narHash": "sha256-wq91XpwR0tv7e7KwSp0qzvu31EMssznl8DzbNy4M4Hk=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "f8857e6072bd85b95393499688872aaf7f088b5b", "rev": "553232a3e4c112c8511309e6b685cb614895e714",
"revCount": 4719, "revCount": 4743,
"submodules": true, "submodules": true,
"type": "git", "type": "git",
"url": "https://github.com/hyprwm/Hyprland" "url": "https://github.com/hyprwm/Hyprland"
@ -800,11 +852,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1715791527, "lastModified": 1716473782,
"narHash": "sha256-HhQ4zvGHrRjR63ltySSeg+x+0jb0lepiutWdnFhLRoo=", "narHash": "sha256-+qLn4lsHU6iL3+HTo1gTQ1tWzet8K9h+IfVemzEQZj8=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprlang", "repo": "hyprlang",
"rev": "969cb076e5b76f2e823aeca1937a3e1f159812ee", "rev": "87d5d984109c839482b88b4795db073eb9ed446f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -860,7 +912,7 @@
"xdg-portal-hyprland", "xdg-portal-hyprland",
"nixpkgs" "nixpkgs"
], ],
"systems": "systems_12" "systems": "systems_13"
}, },
"locked": { "locked": {
"lastModified": 1713121246, "lastModified": 1713121246,
@ -883,11 +935,11 @@
"systems": "systems_9" "systems": "systems_9"
}, },
"locked": { "locked": {
"lastModified": 1715970545, "lastModified": 1716660337,
"narHash": "sha256-WD6Iyb9DV1R5a2A0UIVT8GyzRhs9ntOPGKDubEUUVNs=", "narHash": "sha256-RFu231c1uaCTmjwvzsV7wA5fNq/d4OhKFc+2/25ReRE=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprlock", "repo": "hyprlock",
"rev": "997f222b0fec6ac74ec718b53600e77c2b26860a", "rev": "58c93d8de886e06f57875fc651d60e2dcfc32989",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -903,11 +955,11 @@
"systems": "systems_11" "systems": "systems_11"
}, },
"locked": { "locked": {
"lastModified": 1715699621, "lastModified": 1716658811,
"narHash": "sha256-8DmIFq+3od8OZmDYB/okBWgnOdv87AK37wUhppkEY+U=", "narHash": "sha256-tJ/roE0BqzO2Sn73fF+50RpYYrRS5hDCHI8BmiuPMjA=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprpaper", "repo": "hyprpaper",
"rev": "b2f8274e1d52b0008f770f1136c9d58f77530202", "rev": "2c57525de840e4edada2cfd2924659b80f513ece",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -946,11 +998,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1715879663, "lastModified": 1716058375,
"narHash": "sha256-/DwglRvj4XF4ECdNtrCIbthleszAZBwOiXG5A6r0K/c=", "narHash": "sha256-CwjWoVnBZE5SBpRx9dgSQGCr4Goxyfcyv3zZbOhVqzk=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprwayland-scanner", "repo": "hyprwayland-scanner",
"rev": "f5181a068c1b06f2db51f6222e50a0c665a2b0c3", "rev": "3afed4364790aebe0426077631af1e164a9650cc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -959,17 +1011,34 @@
"type": "github" "type": "github"
} }
}, },
"libpng": {
"flake": false,
"locked": {
"lastModified": 1549245649,
"narHash": "sha256-1+cRp0Ungme/OGfc9kGJbklYIWAFxk8Il1M+NV4KSgw=",
"owner": "glennrp",
"repo": "libpng",
"rev": "8439534daa1d3a5705ba92e653eda9251246dd61",
"type": "github"
},
"original": {
"owner": "glennrp",
"repo": "libpng",
"rev": "8439534daa1d3a5705ba92e653eda9251246dd61",
"type": "github"
}
},
"nix-gaming": { "nix-gaming": {
"inputs": { "inputs": {
"flake-parts": "flake-parts_3", "flake-parts": "flake-parts_3",
"nixpkgs": "nixpkgs_12" "nixpkgs": "nixpkgs_12"
}, },
"locked": { "locked": {
"lastModified": 1716167790, "lastModified": 1716513383,
"narHash": "sha256-oPo3lkpXOiixYHyCXLwN3+B2D/wbk1p9wVP3q3EuzSA=", "narHash": "sha256-WKO8A3PvMRTXB5wNhFyTNXnYQThSazIyVqY5Yh4YIiI=",
"owner": "fufexan", "owner": "fufexan",
"repo": "nix-gaming", "repo": "nix-gaming",
"rev": "ddf67a243c20d781563d6a4066be164720b32afa", "rev": "a1b37351bf0fe01192eeb93f643749f2e0f944eb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1132,11 +1201,11 @@
}, },
"nixpkgs_13": { "nixpkgs_13": {
"locked": { "locked": {
"lastModified": 1715961556, "lastModified": 1716509168,
"narHash": "sha256-+NpbZRCRisUHKQJZF3CT+xn14ZZQO+KjxIIanH3Pvn4=", "narHash": "sha256-4zSIhSRRIoEBwjbPm3YiGtbd8HDWzFxJjw5DYSDy1n8=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4a6b83b05df1a8bd7d99095ec4b4d271f2956b64", "rev": "bfb7a882678e518398ce9a31a881538679f6f092",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1179,6 +1248,22 @@
} }
}, },
"nixpkgs_16": { "nixpkgs_16": {
"locked": {
"lastModified": 1705403940,
"narHash": "sha256-bl7E3w35Bleiexg01WsN0RuAQEL23HaQeNBC2zjt+9w=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "f0326542989e1bdac955ad6269b334a8da4b0c95",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_17": {
"locked": { "locked": {
"lastModified": 1712963716, "lastModified": 1712963716,
"narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=", "narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=",
@ -1194,7 +1279,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_17": { "nixpkgs_18": {
"locked": { "locked": {
"lastModified": 1716097317, "lastModified": 1716097317,
"narHash": "sha256-1UMrLtgzielG/Sop6gl6oTSM4pDt7rF9j9VuxhDWDlY=", "narHash": "sha256-1UMrLtgzielG/Sop6gl6oTSM4pDt7rF9j9VuxhDWDlY=",
@ -1292,11 +1377,11 @@
}, },
"nixpkgs_7": { "nixpkgs_7": {
"locked": { "locked": {
"lastModified": 1715787315, "lastModified": 1716330097,
"narHash": "sha256-cYApT0NXJfqBkKcci7D9Kr4CBYZKOQKDYA23q8XNuWg=", "narHash": "sha256-8BO3B7e3BiyIDsaKA0tY8O88rClYRTjvAp66y+VBUeU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "33d1e753c82ffc557b4a585c77de43d4c922ebb5", "rev": "5710852ba686cc1fd0d3b8e22b3117d43ba374c2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1340,11 +1425,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1716177927, "lastModified": 1716669940,
"narHash": "sha256-E4RcAhpz7BLe+U4xf98n9mqWN3/Ipzn/4gw08eUiSpY=", "narHash": "sha256-3zLf6KEEV95HZkANmeCXW2MAhzBFo+FXgUdW0HNxBCA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "f2af73098c2630ce26f3ab97e95e295ea69ee0c5", "rev": "8bf38e282e0068e064378c6296982de3875025a1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1361,11 +1446,11 @@
"nixpkgs-stable": "nixpkgs-stable_2" "nixpkgs-stable": "nixpkgs-stable_2"
}, },
"locked": { "locked": {
"lastModified": 1715870890, "lastModified": 1716213921,
"narHash": "sha256-nacSOeXtUEM77Gn0G4bTdEOeFIrkCBXiyyFZtdGwuH0=", "narHash": "sha256-xrsYFST8ij4QWaV6HEokCUNIZLjjLP1bYC60K8XiBVA=",
"owner": "cachix", "owner": "cachix",
"repo": "pre-commit-hooks.nix", "repo": "pre-commit-hooks.nix",
"rev": "fa606cccd7b0ccebe2880051208e4a0f61bfc8c1", "rev": "0e8fcc54b842ad8428c9e705cb5994eaf05c26a0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1397,6 +1482,7 @@
"pre-commit-hooks": "pre-commit-hooks", "pre-commit-hooks": "pre-commit-hooks",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
"stylix": "stylix", "stylix": "stylix",
"wezterm": "wezterm",
"xdg-portal-hyprland": "xdg-portal-hyprland", "xdg-portal-hyprland": "xdg-portal-hyprland",
"yazi": "yazi" "yazi": "yazi"
} }
@ -1449,6 +1535,31 @@
} }
}, },
"rust-overlay_3": { "rust-overlay_3": {
"inputs": {
"flake-utils": [
"wezterm",
"flake-utils"
],
"nixpkgs": [
"wezterm",
"nixpkgs"
]
},
"locked": {
"lastModified": 1705457855,
"narHash": "sha256-5cCHQtP/PEHK1YNTQyZN9v8ehpLTjc723ZSKAP3Tva8=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "a854609265af0e9f48c92e497679edf8fab9e690",
"type": "github"
},
"original": {
"owner": "oxalica",
"repo": "rust-overlay",
"type": "github"
}
},
"rust-overlay_4": {
"inputs": { "inputs": {
"flake-utils": [ "flake-utils": [
"yazi", "yazi",
@ -1481,11 +1592,11 @@
"nixpkgs-stable": "nixpkgs-stable_3" "nixpkgs-stable": "nixpkgs-stable_3"
}, },
"locked": { "locked": {
"lastModified": 1716087663, "lastModified": 1716400300,
"narHash": "sha256-zuSAGlx8Qk0OILGCC2GUyZ58/SJ5R3GZdeUNQ6IS0fQ=", "narHash": "sha256-0lMkIk9h3AzOHs1dCL9RXvvN4PM8VBKb+cyGsqOKa4c=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "0bf1808e70ce80046b0cff821c019df2b19aabf5", "rev": "b549832718b8946e875c016a4785d204fcfc2e53",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1509,11 +1620,11 @@
"nixpkgs": "nixpkgs_15" "nixpkgs": "nixpkgs_15"
}, },
"locked": { "locked": {
"lastModified": 1716037261, "lastModified": 1716456264,
"narHash": "sha256-eF0A36GdegKkEiwFArjCysGU/XEYvzj7x5jfkFMtmqM=", "narHash": "sha256-s9Tyj5pEivl/AsvrpkUkfR1Iu3zHfXpviPfe4HbPJ5I=",
"owner": "danth", "owner": "danth",
"repo": "stylix", "repo": "stylix",
"rev": "76e7daf5a16d442ac98e844582f7dc1354610886", "rev": "290c8aef476ce98fff9cefc059284429d561a085",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1569,16 +1680,16 @@
}, },
"systems_12": { "systems_12": {
"locked": { "locked": {
"lastModified": 1689347949, "lastModified": 1681028828,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems", "owner": "nix-systems",
"repo": "default-linux", "repo": "default",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-systems", "owner": "nix-systems",
"repo": "default-linux", "repo": "default",
"type": "github" "type": "github"
} }
}, },
@ -1598,6 +1709,21 @@
} }
}, },
"systems_14": { "systems_14": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"systems_15": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
@ -1750,19 +1876,46 @@
"type": "github" "type": "github"
} }
}, },
"wezterm": {
"inputs": {
"flake-utils": "flake-utils_5",
"freetype2": "freetype2",
"harfbuzz": "harfbuzz",
"libpng": "libpng",
"nixpkgs": "nixpkgs_16",
"rust-overlay": "rust-overlay_3",
"zlib": "zlib"
},
"locked": {
"dir": "nix",
"lastModified": 1716230749,
"narHash": "sha256-S7xUWNt+PxjQqYO7Dv+IUXcQ5kvrOJYFIgPqDSoiPJc=",
"owner": "notohh",
"repo": "wezterm",
"rev": "5c74307039a31d95cfaba61771fb223cb07002b6",
"type": "github"
},
"original": {
"dir": "nix",
"owner": "notohh",
"ref": "nix-add-overlay",
"repo": "wezterm",
"type": "github"
}
},
"xdg-portal-hyprland": { "xdg-portal-hyprland": {
"inputs": { "inputs": {
"hyprland-protocols": "hyprland-protocols_2", "hyprland-protocols": "hyprland-protocols_2",
"hyprlang": "hyprlang_5", "hyprlang": "hyprlang_5",
"nixpkgs": "nixpkgs_16", "nixpkgs": "nixpkgs_17",
"systems": "systems_13" "systems": "systems_14"
}, },
"locked": { "locked": {
"lastModified": 1715788457, "lastModified": 1716290197,
"narHash": "sha256-32HOkjSIyANphV0p5gIwP4ONU/CcinhwOyVFB+tL/d0=", "narHash": "sha256-1u9Exrc7yx9qtES2brDh7/DDZ8w8ap1nboIOAtCgeuM=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "xdg-desktop-portal-hyprland", "repo": "xdg-desktop-portal-hyprland",
"rev": "af7c87a32f5d67eb2ada908a6a700f4e74831943", "rev": "91e48d6acd8a5a611d26f925e51559ab743bc438",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1788,11 +1941,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1715788457, "lastModified": 1716290197,
"narHash": "sha256-32HOkjSIyANphV0p5gIwP4ONU/CcinhwOyVFB+tL/d0=", "narHash": "sha256-1u9Exrc7yx9qtES2brDh7/DDZ8w8ap1nboIOAtCgeuM=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "xdg-desktop-portal-hyprland", "repo": "xdg-desktop-portal-hyprland",
"rev": "af7c87a32f5d67eb2ada908a6a700f4e74831943", "rev": "91e48d6acd8a5a611d26f925e51559ab743bc438",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1803,16 +1956,16 @@
}, },
"yazi": { "yazi": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_5", "flake-utils": "flake-utils_6",
"nixpkgs": "nixpkgs_17", "nixpkgs": "nixpkgs_18",
"rust-overlay": "rust-overlay_3" "rust-overlay": "rust-overlay_4"
}, },
"locked": { "locked": {
"lastModified": 1716116644, "lastModified": 1716648968,
"narHash": "sha256-Wj/Zd+Lm8f4FapTOztT7acB5lCTFsjmudrLzmGRwknY=", "narHash": "sha256-GgjzBE+XcwW6gCqryRG3lvzt1SAcAHlBreG1KbmXYng=",
"owner": "sxyazi", "owner": "sxyazi",
"repo": "yazi", "repo": "yazi",
"rev": "c2affae3a9e7d33e69fc5a2d6dfb01dd252e25b0", "rev": "061faea1c58c42f5c920915f5c351d52a26ef2f1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1820,6 +1973,23 @@
"repo": "yazi", "repo": "yazi",
"type": "github" "type": "github"
} }
},
"zlib": {
"flake": false,
"locked": {
"lastModified": 1484501380,
"narHash": "sha256-j5b6aki1ztrzfCqu8y729sPar8GpyQWIrajdzpJC+ww=",
"owner": "madler",
"repo": "zlib",
"rev": "cacf7f1d4e3d44d871b605da3b647f07d718623f",
"type": "github"
},
"original": {
"owner": "madler",
"ref": "v1.2.11",
"repo": "zlib",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -80,6 +80,7 @@
stylix.url = "github:danth/stylix"; stylix.url = "github:danth/stylix";
eww.url = "github:elkowar/eww"; eww.url = "github:elkowar/eww";
anyrun.url = "github:Kirottu/anyrun"; anyrun.url = "github:Kirottu/anyrun";
wezterm.url = "github:notohh/wezterm?dir=nix&ref=nix-add-overlay";
deploy-rs = { deploy-rs = {
url = "github:serokell/deploy-rs"; url = "github:serokell/deploy-rs";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";

View file

@ -39,6 +39,7 @@
p7zip p7zip
procs procs
atac atac
navi
]; ];
stateVersion = "23.05"; stateVersion = "23.05";
}; };

View file

@ -5,6 +5,7 @@
]; ];
programs.helix = { programs.helix = {
enable = true; enable = true;
defaultEditor = true;
settings = { settings = {
theme = "tokyonight"; theme = "tokyonight";
editor = { editor = {

View file

@ -16,8 +16,12 @@
{ {
name = "rust"; name = "rust";
auto-format = true; auto-format = true;
language-servers = [
"rust-analyzer"
];
formatter = { formatter = {
command = lib.getExe rustfmt; command = lib.getExe rustfmt;
args = ["--edition" "2021"];
}; };
} }
{ {
@ -36,6 +40,18 @@
command = "${nodePackages.vscode-css-languageserver-bin}/bin/css-languageserver"; command = "${nodePackages.vscode-css-languageserver-bin}/bin/css-languageserver";
args = ["--stdio"]; args = ["--stdio"];
}; };
typescript-language-server = with pkgs.nodePackages; {
command = "${typescript-language-server}/bin/typescript-language-server";
args = ["--stdio"];
};
rust-analyzer.config = {
checkOnSave.command = "clippy";
inlayHints = {
closingBraceHints.enable = false;
parameterHints.enable = false;
typeHints.enable = true;
};
};
}; };
}; };
} }

View file

@ -10,7 +10,7 @@ local config = {
}, },
color_scheme = "Tokyo Night", color_scheme = "Tokyo Night",
enable_wayland = false, enable_wayland = true,
font = wezterm.font("JetBrainsMono NF Medium"), font = wezterm.font("JetBrainsMono NF Medium"),
font_size = 12.0, font_size = 12.0,
window_background_opacity = 0.6, window_background_opacity = 0.6,

View file

@ -1,8 +1,4 @@
{ {pkgs, ...}: {
pkgs,
inputs,
...
}: {
imports = [./services/greetd.nix]; imports = [./services/greetd.nix];
environment = { environment = {
systemPackages = with pkgs; [ systemPackages = with pkgs; [
@ -38,7 +34,6 @@
enable = true; enable = true;
extraPortals = with pkgs; [ extraPortals = with pkgs; [
xdg-desktop-portal-gtk xdg-desktop-portal-gtk
inputs.xdg-portal-hyprland.packages.${pkgs.system}.default
]; ];
config = { config = {
common.default = "*"; common.default = "*";

View file

@ -1,10 +1,8 @@
{inputs, ...}: { _: {
imports = [inputs.hyprlock.homeManagerModules.default];
disabledModules = ["${inputs.home-manager}/modules/programs/hyprlock.nix"];
programs.hyprlock = { programs.hyprlock = {
enable = true; enable = true;
backgrounds = let settings = {
background = let
verticalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle.png"; verticalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle.png";
horizontalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle2.png"; horizontalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle2.png";
in [ in [
@ -43,13 +41,10 @@
hide_cursor = false; hide_cursor = false;
no_fade_in = false; no_fade_in = false;
}; };
input-fields = [ input-field = [
{ {
monitor = "DP-2"; monitor = "DP-2";
size = { size = "350, 50";
width = 350;
height = 50;
};
outline_thickness = 2; outline_thickness = 2;
outer_color = "rgb(f7768e)"; outer_color = "rgb(f7768e)";
inner_color = "rgb(1a1b26)"; inner_color = "rgb(1a1b26)";
@ -70,7 +65,7 @@
shadow_boost = 1.0; shadow_boost = 1.0;
} }
]; ];
labels = [ label = [
{ {
monitor = "DP-2"; monitor = "DP-2";
text = '' text = ''
@ -88,10 +83,7 @@
monitor = "DP-2"; monitor = "DP-2";
text = "$TIME"; text = "$TIME";
color = "rgb(c0caf5)"; color = "rgb(c0caf5)";
position = { position = "0, 120";
x = 0;
y = 120;
};
valign = "center"; valign = "center";
halign = "center"; halign = "center";
shadow_passes = 3; shadow_passes = 3;
@ -101,4 +93,5 @@
} }
]; ];
}; };
};
} }

View file

@ -1,27 +1,27 @@
{ {
inputs,
pkgs, pkgs,
lib, lib,
config, config,
... ...
}: { }: {
imports = [inputs.hypridle.homeManagerModules.default];
disabledModules = ["${inputs.home-manager}/modules/services/hypridle.nix"];
services.hypridle = { services.hypridle = {
enable = true; enable = true;
ignoreDbusInhibit = false; settings = {
lockCmd = lib.getExe config.programs.hyprlock.package; general = {
beforeSleepCmd = "${pkgs.systemd}/bin/loginctl lock-session"; ignore_dbus_inhibit = false;
listeners = [ lock_cmd = lib.getExe config.programs.hyprlock.package;
before_sleep_cmd = "${pkgs.systemd}/bin/loginctl lock-session";
};
listener = [
{ {
timeout = 400; timeout = 400;
onTimeout = "${lib.getExe config.programs.hyprlock.package}"; on-timeout = "${lib.getExe config.programs.hyprlock.package}";
} }
{ {
timeout = 460; timeout = 460;
onTimeout = "${pkgs.systemd}/bin/systemctl suspend"; on-timeout = "${pkgs.systemd}/bin/systemctl suspend";
} }
]; ];
}; };
};
} }

View file

@ -1,25 +1,21 @@
{ {pkgs, ...}: {
inputs,
pkgs,
...
}: {
home.packages = [pkgs.hyprpaper]; home.packages = [pkgs.hyprpaper];
imports = [inputs.hyprpaper.homeManagerModules.default];
disabledModules = ["${inputs.home-manager}/modules/services/hyprpaper.nix"];
services.hyprpaper = { services.hyprpaper = {
enable = true; enable = true;
settings = {
ipc = true; ipc = true;
splash = false; splash = false;
preloads = [ preload = [
"~/Pictures/wallpapers/sparkle3.png" "~/Pictures/wallpapers/sparkle3.png"
"~/Pictures/wallpapers/sparkle4.png" "~/Pictures/wallpapers/sparkle4.png"
]; ];
wallpapers = [ wallpaper = [
"HDMI-A-1,~/Pictures/wallpapers/sparkle3.png" "HDMI-A-1,~/Pictures/wallpapers/sparkle3.png"
"DP-1,~/Pictures/wallpapers/sparkle4.png" "DP-1,~/Pictures/wallpapers/sparkle4.png"
"DP-2,~/Pictures/wallpapers/sparkle4.png" "DP-2,~/Pictures/wallpapers/sparkle4.png"
"DP-3,~/Pictures/wallpapers/sparkle3.png" "DP-3,~/Pictures/wallpapers/sparkle3.png"
]; ];
}; };
};
} }

View file

@ -12,10 +12,13 @@ in {
services.forgejo = { services.forgejo = {
enable = true; enable = true;
stateDir = "/var/lib/forgejo"; stateDir = "/var/lib/forgejo";
lfs.enable = true;
settings = { settings = {
service.DISABLE_REGISTRATION = true; service.DISABLE_REGISTRATION = true;
DEFAULT.APP_NAME = "forgejo"; DEFAULT.APP_NAME = "forgejo";
log.LEVEL = "Debug"; log.LEVEL = "Debug";
packages.ENABLED = true;
federation.ENABLED = true;
ui = { ui = {
DEFAULT_THEME = "forgejo-dark"; DEFAULT_THEME = "forgejo-dark";
SHOW_USER_EMAIL = true; SHOW_USER_EMAIL = true;
@ -42,7 +45,8 @@ in {
CLONE = 3600; CLONE = 3600;
}; };
session = { session = {
COOKIE_SECURE = true; PROVIDER = "redis";
PROVIDER_CONFIG = "redis://:forgejo@${dbHost}:6379";
}; };
security = { security = {
LOGIN_REMEMBER_DAYS = 14; LOGIN_REMEMBER_DAYS = 14;

View file

@ -6,6 +6,7 @@
imports = [ imports = [
inputs.nix-gaming.nixosModules.pipewireLowLatency inputs.nix-gaming.nixosModules.pipewireLowLatency
inputs.nix-gaming.nixosModules.platformOptimizations inputs.nix-gaming.nixosModules.platformOptimizations
inputs.hyprland.nixosModules.default
./hardware.nix ./hardware.nix
./services ./services
./networking.nix ./networking.nix
@ -18,6 +19,12 @@
virtualisation.libvirtd.enable = true; virtualisation.libvirtd.enable = true;
programs.hyprland = {
enable = true;
# finalPackage = inputs.hyprland.packages.${pkgs.system}.default;
portalPackage = inputs.xdg-portal-hyprland.packages.${pkgs.system}.default;
};
services = { services = {
pcscd.enable = true; pcscd.enable = true;
flatpak.enable = true; flatpak.enable = true;

View file

@ -11,5 +11,6 @@
./anki-sync-server.nix ./anki-sync-server.nix
./paperless.nix ./paperless.nix
./hydroxide.nix ./hydroxide.nix
./twitch-miner.nix
]; ];
} }

View file

@ -0,0 +1,13 @@
_: {
virtualisation.oci-containers.containers.twitch-miner = {
image = "rdavidoff/twitch-channel-points-miner-v2@sha256:a344037ff4180fccc909ca398cc180a840ffd89f6af121789a58764a86769e58";
hostname = "twitch-miner";
volumes = [
"/home/notoh/twitch-miner/analytics:/usr/src/app/analytics"
"/home/notoh/twitch-miner/cookies:/usr/src/app/cookie"
"/home/notoh/twitch-miner/logs:/usr/src/app/logs"
"/home/notoh/twitch-miner/run.py:/usr/src/app/run.py:ro"
];
ports = ["5000:5000"];
};
}

View file

@ -10,6 +10,7 @@
inputs.hyprpicker.overlays.default inputs.hyprpicker.overlays.default
inputs.atuin.overlays.default inputs.atuin.overlays.default
inputs.eww.overlays.default inputs.eww.overlays.default
inputs.wezterm.overlays.default
]; ];
config = { config = {
allowUnfree = true; allowUnfree = true;
@ -38,7 +39,6 @@
builders-use-substitutes = true; builders-use-substitutes = true;
keep-outputs = true; keep-outputs = true;
keep-derivations = true; keep-derivations = true;
flake-registry = "/etc/nix/registry.json";
allowed-users = ["@wheel"]; allowed-users = ["@wheel"];
trusted-users = ["root" "@wheel"]; trusted-users = ["root" "@wheel"];
substituters = [ substituters = [