change niri to niri-unstable and update flake inputs

This commit is contained in:
ulic-youthlic 2025-01-12 14:59:47 +08:00
parent d9b33554b9
commit 7d52c44603
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
3 changed files with 22 additions and 20 deletions

36
flake.lock generated
View file

@ -251,11 +251,11 @@
"zig": "zig" "zig": "zig"
}, },
"locked": { "locked": {
"lastModified": 1736566108, "lastModified": 1736653509,
"narHash": "sha256-r+FXWU/hfgO3lAHYs9Q03iCShnC42mZd1pnmIIp8Z9k=", "narHash": "sha256-QvpHzpkpWEDl5EzuuHYmOxLutnqR8dRlrEMkT3WGL58=",
"owner": "ghostty-org", "owner": "ghostty-org",
"repo": "ghostty", "repo": "ghostty",
"rev": "918ccdba5cc65ccd1fb48a54c71306d869299441", "rev": "d4190c9c02dabfaff0fb6c6fa1ba8f55a82730f4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -274,11 +274,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1736521384, "lastModified": 1736645984,
"narHash": "sha256-9chSfi9SRfrq757BGmzgm7DgPD3T3CPHNV3QG2otkdg=", "narHash": "sha256-imC/8ohwtyn0z35diDMe322OCJvTh31ga+ma4S4FIz4=",
"owner": "helix-editor", "owner": "helix-editor",
"repo": "helix", "repo": "helix",
"rev": "9721144e03a6c4e221c86408d34ce929972a36a5", "rev": "0f2ce303c5cac34ba88469d3ee13d44967f3e903",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -340,11 +340,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable" "xwayland-satellite-unstable": "xwayland-satellite-unstable"
}, },
"locked": { "locked": {
"lastModified": 1736578404, "lastModified": 1736632063,
"narHash": "sha256-T3+GRxn40DHAlPuhTL7C25GSiRnB04A83Py11K06Y70=", "narHash": "sha256-D/Idow5kWJpMzI6bW382qNh7mk8qItQJkFnfQ505VrE=",
"owner": "sodiboo", "owner": "sodiboo",
"repo": "niri-flake", "repo": "niri-flake",
"rev": "d975e5fc32ed51c6f26e1d8cd77e37fb2d0e1ec2", "rev": "2a0145360ab6caa8961cddb87f586cb90aa356ba",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -373,11 +373,11 @@
"niri-unstable": { "niri-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1736575845, "lastModified": 1736614405,
"narHash": "sha256-sLPCK9H4rIGV11xEckMPn7u+GzrPkDdoYr6HGHsJ6V4=", "narHash": "sha256-AJ1rlgNOPb3/+DbS5hkhm21t6Oz8IgqLllwmZt0lyzk=",
"owner": "YaLTeR", "owner": "YaLTeR",
"repo": "niri", "repo": "niri",
"rev": "d574341f1f00dfeb7bedbd592d53f62e2911752d", "rev": "e05bc269e678ecf828b96ae79c991c13b00b38a5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -616,11 +616,11 @@
}, },
"nixpkgs-stable_2": { "nixpkgs-stable_2": {
"locked": { "locked": {
"lastModified": 1736200483, "lastModified": 1736549401,
"narHash": "sha256-JO+lFN2HsCwSLMUWXHeOad6QUxOuwe9UOAF/iSl1J4I=", "narHash": "sha256-ibkQrMHxF/7TqAYcQE+tOnIsSEzXmMegzyBWza6uHKM=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3f0a8ac25fb674611b98089ca3a5dd6480175751", "rev": "1dab772dd4a68a7bba5d9460685547ff8e17d899",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -761,11 +761,11 @@
"flake": false, "flake": false,
"locked": { "locked": {
"dir": "/pkgs/uncategorized", "dir": "/pkgs/uncategorized",
"lastModified": 1736320698, "lastModified": 1736655935,
"narHash": "sha256-YQnHnEA0NtxztpovL8qrG/xQ/+Ym+o3ryq+63tjFPWg=", "narHash": "sha256-3Wb/66esFbXe8sDAMaOQzmnE2+4jE8Zror40AhSohaw=",
"owner": "xddxdd", "owner": "xddxdd",
"repo": "nur-packages", "repo": "nur-packages",
"rev": "6d6d8ee9eac8fc993d5925088b9129d9284ca74b", "rev": "120eda016ae54371105e0849b7c7f0d05ebf8dec",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,7 +1,6 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
programs.niri = { programs.niri = {
package = pkgs.niri-unstable;
config = builtins.readFile ./config.kdl; config = builtins.readFile ./config.kdl;
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [

View file

@ -11,7 +11,10 @@
# services.desktopManager.plasma6.enable = true; # services.desktopManager.plasma6.enable = true;
services.desktopManager.cosmic.enable = true; services.desktopManager.cosmic.enable = true;
services.displayManager.cosmic-greeter.enable = true; services.displayManager.cosmic-greeter.enable = true;
programs.niri.enable = true; programs.niri = {
enable = true;
package = pkgs.niri-unstable;
};
# Configure keymap in X11 # Configure keymap in X11
services.xserver.xkb = { services.xserver.xkb = {