Compare commits

..
2 Commits
Author SHA1 Message Date
Hare 4c8e9f809a hyprland lua dispatch 2026-07-21 20:07:19 +09:00
Hare 5ea08b009d yoi 2026-06-05 14:42:36 +09:00
8 changed files with 152 additions and 52 deletions
Generated
+129 -44
View File
@@ -36,6 +36,24 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils_3": {
"inputs": {
"systems": "systems_3"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@@ -43,11 +61,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1779969295, "lastModified": 1784489491,
"narHash": "sha256-HwIJ3tOcwSMiV75L7KqJXciXR9UfT+d7rwOZMX7cTnA=", "narHash": "sha256-j9maqjx1T8+ljAVntAdSI5hSGCm77QNZz64JF1rJNu0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "61e2c9659324181e0f0ed911958c536333b1d4f6", "rev": "3139deb8cafbe73b39b24451255b2fdd3426077e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -56,26 +74,6 @@
"type": "github" "type": "github"
} }
}, },
"insomnia": {
"inputs": {
"flake-utils": "flake-utils_2",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1780015149,
"narHash": "sha256-sEpglWrsVDNHys56LNLY8mvak2A3OkRE865ZYTc9i/w=",
"ref": "develop",
"rev": "b0c3b79e114502acd375afe78cac34ef2aeef05c",
"revCount": 610,
"type": "git",
"url": "ssh://git@gitea.hareworks.net/Hare/insomnia.git"
},
"original": {
"ref": "develop",
"type": "git",
"url": "ssh://git@gitea.hareworks.net/Hare/insomnia.git"
}
},
"nix-index-database": { "nix-index-database": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@@ -83,11 +81,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1779604987, "lastModified": 1784440659,
"narHash": "sha256-ZQ5z+fVhxYKtIFwtqGp5O0PD84BM1riASvqDaN5Xs+s=", "narHash": "sha256-Q5kNLlWngt7TaIIZoxDKWMHjiSaNRVqr70FqWCRRfr4=",
"owner": "Mic92", "owner": "Mic92",
"repo": "nix-index-database", "repo": "nix-index-database",
"rev": "8fba98c80b48fa013820e0163c5096922fea4ddd", "rev": "4f8d52a3598b0dc7db7a5e7b419e3edd9d1ecfdb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -97,12 +95,15 @@
} }
}, },
"nixos-hardware": { "nixos-hardware": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": { "locked": {
"lastModified": 1779826373, "lastModified": 1784310968,
"narHash": "sha256-3sRzgLX86qV5NlhWUAufLmHwkyP03tmL3VdZIM13dEo=", "narHash": "sha256-rkSPTePrKqs4dg+i7ZFCq93+HrClac6oSwXX927SVjA=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "ef4efb84766a166c906bd55759574676bf91267c", "rev": "779c32a00155994c86cde8213a8dd4df139d4355",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -113,27 +114,24 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1775036866, "lastModified": 1767892417,
"narHash": "sha256-ZojAnPuCdy657PbTq5V0Y+AHKhZAIwSIT2cb8UgAz/U=", "narHash": "sha256-8bW3q88CEg2u4hSP66Vf4lpbLonHz7hqDNBMcCY7E9U=",
"owner": "nixos", "rev": "3497aa5c9457a9d88d71fa93a4a8368816fbeeba",
"repo": "nixpkgs", "type": "tarball",
"rev": "6201e203d09599479a3b3450ed24fa81537ebc4e", "url": "https://releases.nixos.org/nixos/unstable/nixos-26.05pre924538.3497aa5c9457/nixexprs.tar.xz"
"type": "github"
}, },
"original": { "original": {
"owner": "nixos", "type": "tarball",
"ref": "nixos-unstable", "url": "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz"
"repo": "nixpkgs",
"type": "github"
} }
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1779560665, "lastModified": 1784356753,
"narHash": "sha256-tpyBcxPpcQb8ukyNF7DoCwfSY3VPsxHoYwj00Cayv5o=", "narHash": "sha256-12KrbMiWLcf8m7pCvAtZh1ZrgF85ZXDXvfR/fWTKy84=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "64c08a7ca051951c8eae34e3e3cb1e202fe36786", "rev": "61b7c44c4073f0b827768aff0049561b5110ea5a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -144,6 +142,38 @@
} }
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": {
"lastModified": 1781577229,
"narHash": "sha256-lrp67w8AulE9Ks53n27I45ADSzbOCn4H+CNW1Ck8B+8=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "567a49d1913ce81ac6e9582e3553dd90a955875f",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_4": {
"locked": {
"lastModified": 1779560665,
"narHash": "sha256-tpyBcxPpcQb8ukyNF7DoCwfSY3VPsxHoYwj00Cayv5o=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "64c08a7ca051951c8eae34e3e3cb1e202fe36786",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1727348695, "lastModified": 1727348695,
"narHash": "sha256-J+PeFKSDV+pHL7ukkfpVzCOO7mBSrrpJ3svwBFABbhI=", "narHash": "sha256-J+PeFKSDV+pHL7ukkfpVzCOO7mBSrrpJ3svwBFABbhI=",
@@ -163,10 +193,11 @@
"inputs": { "inputs": {
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"home-manager": "home-manager", "home-manager": "home-manager",
"insomnia": "insomnia",
"nix-index-database": "nix-index-database", "nix-index-database": "nix-index-database",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"tourbox-linux": "tourbox-linux",
"yoi": "yoi",
"zen-browser": "zen-browser" "zen-browser": "zen-browser"
} }
}, },
@@ -200,9 +231,63 @@
"type": "github" "type": "github"
} }
}, },
"systems_3": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"tourbox-linux": {
"inputs": {
"flake-utils": "flake-utils_2",
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1782109395,
"narHash": "sha256-5b11NT4jgnTrZj8O94MbqiWjslgeKoiqnlfmZ4eJu3s=",
"owner": "HareK02",
"repo": "TourBox-Linux",
"rev": "d5d5055514576701c05d177186bba2ed2f65cc91",
"type": "github"
},
"original": {
"owner": "HareK02",
"repo": "TourBox-Linux",
"type": "github"
}
},
"yoi": {
"inputs": {
"flake-utils": "flake-utils_3",
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1784328575,
"narHash": "sha256-4LdSQBnOPZ82otj2go33qAtDUcVtWFRmMvfgKdQO9Ys=",
"ref": "develop",
"rev": "37c44a7942776ce43d21f0aa55e55006de1aa6a4",
"revCount": 3343,
"type": "git",
"url": "ssh://git@gitea.hareworks.net/Hare/yoi.git"
},
"original": {
"ref": "develop",
"type": "git",
"url": "ssh://git@gitea.hareworks.net/Hare/yoi.git"
}
},
"zen-browser": { "zen-browser": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_5"
}, },
"locked": { "locked": {
"lastModified": 1761859251, "lastModified": 1761859251,
+2 -1
View File
@@ -10,7 +10,8 @@
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
nixos-hardware.url = "github:NixOS/nixos-hardware"; nixos-hardware.url = "github:NixOS/nixos-hardware";
zen-browser.url = "github:xaragon/zen-browser-flake"; zen-browser.url = "github:xaragon/zen-browser-flake";
insomnia.url = "git+ssh://git@gitea.hareworks.net/Hare/insomnia.git?ref=develop"; yoi.url = "git+ssh://git@gitea.hareworks.net/Hare/yoi.git?ref=develop";
tourbox-linux.url = "github:HareK02/TourBox-Linux";
nix-index-database.url = "github:Mic92/nix-index-database"; nix-index-database.url = "github:Mic92/nix-index-database";
nix-index-database.inputs.nixpkgs.follows = "nixpkgs"; nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
+4 -1
View File
@@ -12,5 +12,8 @@ mkHost {
nixos = ./hare/nixos.nix; nixos = ./hare/nixos.nix;
} }
]; ];
systemModules = [ ./nixos.nix ]; systemModules = [
inputs.tourbox-linux.nixosModules.default
./nixos.nix
];
} }
+9 -1
View File
@@ -36,6 +36,14 @@
scale = 1; scale = 1;
transform = 0; transform = 0;
} }
# {
# output = "DP-3";
# mode = "1920x1080@60";
# position = "0x0";
# scale = 0.75;
# transform = 0;
# mirror = "DP-1";
# }
{ {
output = "DP-3"; output = "DP-3";
mode = "1920x1080@144"; mode = "1920x1080@144";
@@ -78,7 +86,7 @@
orca-slicer orca-slicer
davinci-resolve davinci-resolve
inputs.zen-browser.packages."${stdenv.hostPlatform.system}".default inputs.zen-browser.packages."${stdenv.hostPlatform.system}".default
inputs.insomnia.packages.${stdenv.hostPlatform.system}.default # inputs.yoi.packages.${stdenv.hostPlatform.system}.default
]; ];
services.easyeffects = { services.easyeffects = {
enable = true; enable = true;
+1
View File
@@ -90,6 +90,7 @@ in
ATTRS{idVendor}=="414", ATTRS{idProduct}=="211a", MODE="0777" ATTRS{idVendor}=="414", ATTRS{idProduct}=="211a", MODE="0777"
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="input" KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="input"
''; '';
services.tourbox-linux.enable = true;
hardware.bluetooth = { hardware.bluetooth = {
enable = true; enable = true;
+1
View File
@@ -11,5 +11,6 @@
wezterm wezterm
libsixel libsixel
nixfmt nixfmt
nil
]; ];
} }
+5 -5
View File
@@ -15,6 +15,8 @@ let
hl.env("HYPRCURSOR_THEME", "rose-pine-hyprcursor") hl.env("HYPRCURSOR_THEME", "rose-pine-hyprcursor")
hl.env("HYPRCURSOR_SIZE", "24") hl.env("HYPRCURSOR_SIZE", "24")
hl.env("XCURSOR_SIZE", "24") hl.env("XCURSOR_SIZE", "24")
hl.env("GTK_USE_PORTAL", "0")
hl.env("GDK_DEBUG", "no-portals")
hl.env("XDG_CURRENT_DESKTOP", "Hyprland") hl.env("XDG_CURRENT_DESKTOP", "Hyprland")
hl.env("XDG_SESSION_TYPE", "wayland") hl.env("XDG_SESSION_TYPE", "wayland")
@@ -31,13 +33,14 @@ let
force_default_wallpaper = false, force_default_wallpaper = false,
disable_hyprland_logo = true, disable_hyprland_logo = true,
disable_splash_rendering = true, disable_splash_rendering = true,
disable_hyprland_guiutils_check = true,
}, },
}) })
hl.on("hyprland.start", function() hl.on("hyprland.start", function()
hl.exec_cmd("${ hl.exec_cmd("${
config.programs.regreet.package or pkgs.regreet config.programs.regreet.package or pkgs.regreet
}/bin/regreet; hyprctl dispatch exit") }/bin/regreet; ${pkgs.hyprland}/bin/hyprctl dispatch 'hl.dsp.exit()'")
end) end)
''; '';
in in
@@ -51,7 +54,7 @@ in
config = { config = {
services.greetd.enable = true; services.greetd.enable = true;
services.greetd.settings.default_session = { services.greetd.settings.default_session = {
command = "${pkgs.hyprland}/bin/start-hyprland -- -c ${hyprGreetConf}"; command = "${pkgs.dbus}/bin/dbus-run-session ${pkgs.hyprland}/bin/start-hyprland -- -c ${hyprGreetConf}";
user = "greeter"; user = "greeter";
}; };
@@ -80,9 +83,6 @@ in
GTK = { GTK = {
application_prefer_dark_theme = true; application_prefer_dark_theme = true;
}; };
background = {
path = "/usr/share/wallpaper/arknights-image-01.png";
};
}; };
}; };
}; };
+1
View File
@@ -5,6 +5,7 @@
alsa.enable = true; alsa.enable = true;
alsa.support32Bit = true; alsa.support32Bit = true;
pulse.enable = true; pulse.enable = true;
jack.enable = true;
extraConfig.pipewire."92-low-latency" = { extraConfig.pipewire."92-low-latency" = {
context.properties = { context.properties = {
default.clock.rate = 48000; default.clock.rate = 48000;