mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
feat: update system
This commit is contained in:
48
flake.lock
generated
48
flake.lock
generated
@@ -102,11 +102,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1712014858,
|
"lastModified": 1714641030,
|
||||||
"narHash": "sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm+GpZNw=",
|
"narHash": "sha256-yzcRNDoyVP7+SCNX0wmuDju1NUCt8Dz9+lyUXEI0dbI=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "9126214d0a59633752a136528f5f3b9aa8565b7d",
|
"rev": "e5d10a24b66c3ea8f150e47dfdb0416ab7c3390e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -180,11 +180,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1714042918,
|
"lastModified": 1714679908,
|
||||||
"narHash": "sha256-4AItZA3EQIiSNAxliuYEJumw/LaVfrMv84gYyrs0r3U=",
|
"narHash": "sha256-KzcXzDvDJjX34en8f3Zimm396x6idbt+cu4tWDVS2FI=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "0c5704eceefcb7bb238a958f532a86e3b59d76db",
|
"rev": "9036fe9ef8e15a819fa76f47a8b1f287903fb848",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -201,11 +201,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713992342,
|
"lastModified": 1714679908,
|
||||||
"narHash": "sha256-bW7K4WPo6jhYMo4ZUGoJfog6xJV0XZh8adXqZKunRoc=",
|
"narHash": "sha256-KzcXzDvDJjX34en8f3Zimm396x6idbt+cu4tWDVS2FI=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "2f072c127c041eec36621b8e38a531fe0fe07961",
|
"rev": "9036fe9ef8e15a819fa76f47a8b1f287903fb848",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -220,11 +220,11 @@
|
|||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1714427480,
|
"lastModified": 1714427782,
|
||||||
"narHash": "sha256-m6iICMLTIfcD6BQMR03Y946f+tmb6pseew+ZVwqY/YI=",
|
"narHash": "sha256-Wn9klbm8qK4cH3IAqf0lfSQMLVFQlWNSVi9lA7rzgjY=",
|
||||||
"owner": "Theaninova",
|
"owner": "Theaninova",
|
||||||
"repo": "matugen",
|
"repo": "matugen",
|
||||||
"rev": "1d4cb4ee1b407df5cb9eec89e54a8e9912ea5a5b",
|
"rev": "37196e2f5372be6eb278db9a66eb6dcf812bb3f6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -273,11 +273,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1714076141,
|
"lastModified": 1714635257,
|
||||||
"narHash": "sha256-Drmja/f5MRHZCskS6mvzFqxEaZMeciScCTFxWVLqWEY=",
|
"narHash": "sha256-4cPymbty65RvF1DWQfc+Bc8B233A1BWxJnNULJKQ1EY=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "7bb2ccd8cdc44c91edba16c48d2c8f331fb3d856",
|
"rev": "63c3a29ca82437c87573e4c6919b09a24ea61b0f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -300,11 +300,11 @@
|
|||||||
"pre-commit-hooks": "pre-commit-hooks"
|
"pre-commit-hooks": "pre-commit-hooks"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1714142618,
|
"lastModified": 1714730761,
|
||||||
"narHash": "sha256-0ijCe5k7Q569PO/hP/yryh9aB33zJyjs4NKbPQxVW8c=",
|
"narHash": "sha256-TjxlzjUl+wf3xw1+NKJSMZ/yWO+HE7X8aP1Qey77R2o=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "0fc190144f9acf72ae8705ea304577e90389da20",
|
"rev": "c05fba47c733445098847399b61ddfd81ecbde55",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -315,11 +315,11 @@
|
|||||||
},
|
},
|
||||||
"nur": {
|
"nur": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1714153552,
|
"lastModified": 1714822436,
|
||||||
"narHash": "sha256-+3CdMPm0E4fExxj3xZ8nZY/TW/Tc0BczK4DopNdr6gY=",
|
"narHash": "sha256-QnWfY6LlKBi5asOFaAe86A1rejF2LFzIRCzWZUUZvMc=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "8f0f28c3bf4fb66368ecf10fd742a44c7f816d35",
|
"rev": "33f7913ac4b94015e465b9be78f90c5df6bfa498",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -343,11 +343,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713954846,
|
"lastModified": 1714478972,
|
||||||
"narHash": "sha256-RWFafuSb5nkWGu8dDbW7gVb8FOQOPqmX/9MlxUUDguw=",
|
"narHash": "sha256-q//cgb52vv81uOuwz1LaXElp3XAe1TqrABXODAEF6Sk=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "pre-commit-hooks.nix",
|
"repo": "pre-commit-hooks.nix",
|
||||||
"rev": "6fb82e44254d6a0ece014ec423cb62d92435336f",
|
"rev": "2849da033884f54822af194400f8dff435ada242",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
imports = [ ./hardware-configuration.nix ];
|
imports = [ ./hardware-configuration.nix ];
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
package = pkgs.nixVersions.unstable;
|
package = pkgs.nixVersions.git;
|
||||||
settings.experimental-features = [
|
settings.experimental-features = [
|
||||||
"nix-command"
|
"nix-command"
|
||||||
"flakes"
|
"flakes"
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
amdgpu.preset.default.enable = true;
|
amdgpu.preset.default.enable = true;
|
||||||
audio.preset.pipewire.enable = true;
|
audio.preset.pipewire.enable = true;
|
||||||
cc1.enable = true;
|
cc1.enable = true;
|
||||||
fv43u.enable = true;
|
q3279vwf.enable = true;
|
||||||
virtual-camera.enable = true;
|
virtual-camera.enable = true;
|
||||||
hid-fanatecff.enable = true;
|
hid-fanatecff.enable = true;
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
./hardware/amdgpu.nix
|
./hardware/amdgpu.nix
|
||||||
./hardware/cc1.nix
|
./hardware/cc1.nix
|
||||||
./hardware/fv43u.nix
|
./hardware/fv43u.nix
|
||||||
|
./hardware/q3279vwf.nix
|
||||||
./hardware/virtual-camera.nix
|
./hardware/virtual-camera.nix
|
||||||
|
|
||||||
./locales/theaninova.nix
|
./locales/theaninova.nix
|
||||||
|
|||||||
@@ -4,13 +4,13 @@ xkb_symbols "cc1-thea"
|
|||||||
include "level3(ralt_switch)"
|
include "level3(ralt_switch)"
|
||||||
|
|
||||||
key <AE11> {[minus, underscore, at]};
|
key <AE11> {[minus, underscore, at]};
|
||||||
key <AE12> {[equal, question, ssharp]};
|
key <AE12> {[equal, plus, mu]};
|
||||||
key <LatQ> {[q, Q, asterisk]};
|
key <LatQ> {[q, Q, asterisk]};
|
||||||
key <LatW> {[w, W, 9]};
|
key <LatW> {[w, W, 9]};
|
||||||
key <LatE> {[e, E, braceleft]};
|
key <LatE> {[e, E, braceleft]};
|
||||||
key <LatR> {[r, R, 1]};
|
key <LatR> {[r, R, 1]};
|
||||||
key <LatT> {[t, T, braceright]};
|
key <LatT> {[t, T, braceright]};
|
||||||
key <LatY> {[y, Y, bar]};
|
key <LatY> {[y, Y, ssharp]};
|
||||||
key <LatU> {[u, U, 5]};
|
key <LatU> {[u, U, 5]};
|
||||||
key <LatI> {[i, I, exclam]};
|
key <LatI> {[i, I, exclam]};
|
||||||
key <LatO> {[o, O, 3]};
|
key <LatO> {[o, O, 3]};
|
||||||
@@ -21,19 +21,20 @@ xkb_symbols "cc1-thea"
|
|||||||
key <LatF> {[f, F, 6]};
|
key <LatF> {[f, F, 6]};
|
||||||
key <LatG> {[g, G, asciicircum]};
|
key <LatG> {[g, G, asciicircum]};
|
||||||
key <LatH> {[h, H, bracketright]};
|
key <LatH> {[h, H, bracketright]};
|
||||||
key <LatJ> {[j, J, percent]};
|
key <LatJ> {[j, J, EuroSign]};
|
||||||
key <LatK> {[k, K, 7]};
|
key <LatK> {[k, K, 7]};
|
||||||
key <LatL> {[l, L, slash]};
|
key <LatL> {[l, L, percent]};
|
||||||
key <AC10> {[semicolon, colon, dollar, EuroSign]};
|
key <AC10> {[semicolon, colon, dollar]};
|
||||||
key <AC11> {[apostrophe, quotedbl, ampersand]};
|
key <AC11> {[apostrophe, quotedbl, ampersand]};
|
||||||
key <LatZ> {[z, Z, dead_diaeresis]};
|
key <LatZ> {[z, Z, dead_diaeresis]};
|
||||||
key <LatX> {[x, X, plus]};
|
key <LatX> {[x, X, numbersign]};
|
||||||
key <LatC> {[c, C, parenleft]};
|
key <LatC> {[c, C, parenleft]};
|
||||||
key <LatV> {[v, V, less]};
|
key <LatV> {[v, V, less]};
|
||||||
key <LatB> {[b, B, 8]};
|
key <LatB> {[b, B, 8]};
|
||||||
key <LatN> {[n, N, 2]};
|
key <LatN> {[n, N, 2]};
|
||||||
key <LatM> {[m, M, bracketleft, mu]};
|
key <LatM> {[m, M, bracketleft]};
|
||||||
key <AB08> {[comma, numbersign, grave]};
|
key <AB08> {[comma, degree, grave]};
|
||||||
key <AB09> {[period, asciitilde, backslash]};
|
key <AB09> {[period, asciitilde, bar]};
|
||||||
|
key <AB10> {[slash, question, backslash]};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
34
modules/nixos/hardware/q3279vwf.nix
Normal file
34
modules/nixos/hardware/q3279vwf.nix
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
username,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib;
|
||||||
|
|
||||||
|
let
|
||||||
|
cfg = config.hardware.q3279vwf;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.hardware.q3279vwf = {
|
||||||
|
enable = mkEnableOption "Enable optimisations for the AOC Q3279VWF monitor";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
fonts.fontconfig.subpixel.rgba = "bgr";
|
||||||
|
boot.kernelParams = [ "video=2560x1440@75" ];
|
||||||
|
|
||||||
|
home-manager.users.${username}.wayland.windowManager.hyprland.settings = {
|
||||||
|
general.layout = "master";
|
||||||
|
master = {
|
||||||
|
orientation = "center";
|
||||||
|
new_is_master = true;
|
||||||
|
always_center_master = true;
|
||||||
|
mfact = 0.4;
|
||||||
|
};
|
||||||
|
monitor = [ "DP-1,highrr,0x0,1" ];
|
||||||
|
xwayland.force_zero_scaling = true;
|
||||||
|
misc.vrr = 2; # VA suffers from VRR flicker
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -21,7 +21,7 @@ in
|
|||||||
mainBar = {
|
mainBar = {
|
||||||
height = 24;
|
height = 24;
|
||||||
reload_style_on_change = true;
|
reload_style_on_change = true;
|
||||||
exclusive = false;
|
exclusive = true;
|
||||||
|
|
||||||
modules-center = [
|
modules-center = [
|
||||||
"clock"
|
"clock"
|
||||||
|
|||||||
Reference in New Issue
Block a user