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": {
|
||||
"lastModified": 1712014858,
|
||||
"narHash": "sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm+GpZNw=",
|
||||
"lastModified": 1714641030,
|
||||
"narHash": "sha256-yzcRNDoyVP7+SCNX0wmuDju1NUCt8Dz9+lyUXEI0dbI=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "9126214d0a59633752a136528f5f3b9aa8565b7d",
|
||||
"rev": "e5d10a24b66c3ea8f150e47dfdb0416ab7c3390e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -180,11 +180,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1714042918,
|
||||
"narHash": "sha256-4AItZA3EQIiSNAxliuYEJumw/LaVfrMv84gYyrs0r3U=",
|
||||
"lastModified": 1714679908,
|
||||
"narHash": "sha256-KzcXzDvDJjX34en8f3Zimm396x6idbt+cu4tWDVS2FI=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "0c5704eceefcb7bb238a958f532a86e3b59d76db",
|
||||
"rev": "9036fe9ef8e15a819fa76f47a8b1f287903fb848",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -201,11 +201,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1713992342,
|
||||
"narHash": "sha256-bW7K4WPo6jhYMo4ZUGoJfog6xJV0XZh8adXqZKunRoc=",
|
||||
"lastModified": 1714679908,
|
||||
"narHash": "sha256-KzcXzDvDJjX34en8f3Zimm396x6idbt+cu4tWDVS2FI=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "2f072c127c041eec36621b8e38a531fe0fe07961",
|
||||
"rev": "9036fe9ef8e15a819fa76f47a8b1f287903fb848",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -220,11 +220,11 @@
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1714427480,
|
||||
"narHash": "sha256-m6iICMLTIfcD6BQMR03Y946f+tmb6pseew+ZVwqY/YI=",
|
||||
"lastModified": 1714427782,
|
||||
"narHash": "sha256-Wn9klbm8qK4cH3IAqf0lfSQMLVFQlWNSVi9lA7rzgjY=",
|
||||
"owner": "Theaninova",
|
||||
"repo": "matugen",
|
||||
"rev": "1d4cb4ee1b407df5cb9eec89e54a8e9912ea5a5b",
|
||||
"rev": "37196e2f5372be6eb278db9a66eb6dcf812bb3f6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -273,11 +273,11 @@
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1714076141,
|
||||
"narHash": "sha256-Drmja/f5MRHZCskS6mvzFqxEaZMeciScCTFxWVLqWEY=",
|
||||
"lastModified": 1714635257,
|
||||
"narHash": "sha256-4cPymbty65RvF1DWQfc+Bc8B233A1BWxJnNULJKQ1EY=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "7bb2ccd8cdc44c91edba16c48d2c8f331fb3d856",
|
||||
"rev": "63c3a29ca82437c87573e4c6919b09a24ea61b0f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -300,11 +300,11 @@
|
||||
"pre-commit-hooks": "pre-commit-hooks"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1714142618,
|
||||
"narHash": "sha256-0ijCe5k7Q569PO/hP/yryh9aB33zJyjs4NKbPQxVW8c=",
|
||||
"lastModified": 1714730761,
|
||||
"narHash": "sha256-TjxlzjUl+wf3xw1+NKJSMZ/yWO+HE7X8aP1Qey77R2o=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixvim",
|
||||
"rev": "0fc190144f9acf72ae8705ea304577e90389da20",
|
||||
"rev": "c05fba47c733445098847399b61ddfd81ecbde55",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -315,11 +315,11 @@
|
||||
},
|
||||
"nur": {
|
||||
"locked": {
|
||||
"lastModified": 1714153552,
|
||||
"narHash": "sha256-+3CdMPm0E4fExxj3xZ8nZY/TW/Tc0BczK4DopNdr6gY=",
|
||||
"lastModified": 1714822436,
|
||||
"narHash": "sha256-QnWfY6LlKBi5asOFaAe86A1rejF2LFzIRCzWZUUZvMc=",
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"rev": "8f0f28c3bf4fb66368ecf10fd742a44c7f816d35",
|
||||
"rev": "33f7913ac4b94015e465b9be78f90c5df6bfa498",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -343,11 +343,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1713954846,
|
||||
"narHash": "sha256-RWFafuSb5nkWGu8dDbW7gVb8FOQOPqmX/9MlxUUDguw=",
|
||||
"lastModified": 1714478972,
|
||||
"narHash": "sha256-q//cgb52vv81uOuwz1LaXElp3XAe1TqrABXODAEF6Sk=",
|
||||
"owner": "cachix",
|
||||
"repo": "pre-commit-hooks.nix",
|
||||
"rev": "6fb82e44254d6a0ece014ec423cb62d92435336f",
|
||||
"rev": "2849da033884f54822af194400f8dff435ada242",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
imports = [ ./hardware-configuration.nix ];
|
||||
|
||||
nix = {
|
||||
package = pkgs.nixVersions.unstable;
|
||||
package = pkgs.nixVersions.git;
|
||||
settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
@@ -63,7 +63,7 @@
|
||||
amdgpu.preset.default.enable = true;
|
||||
audio.preset.pipewire.enable = true;
|
||||
cc1.enable = true;
|
||||
fv43u.enable = true;
|
||||
q3279vwf.enable = true;
|
||||
virtual-camera.enable = true;
|
||||
hid-fanatecff.enable = true;
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
./hardware/amdgpu.nix
|
||||
./hardware/cc1.nix
|
||||
./hardware/fv43u.nix
|
||||
./hardware/q3279vwf.nix
|
||||
./hardware/virtual-camera.nix
|
||||
|
||||
./locales/theaninova.nix
|
||||
|
||||
@@ -4,13 +4,13 @@ xkb_symbols "cc1-thea"
|
||||
include "level3(ralt_switch)"
|
||||
|
||||
key <AE11> {[minus, underscore, at]};
|
||||
key <AE12> {[equal, question, ssharp]};
|
||||
key <AE12> {[equal, plus, mu]};
|
||||
key <LatQ> {[q, Q, asterisk]};
|
||||
key <LatW> {[w, W, 9]};
|
||||
key <LatE> {[e, E, braceleft]};
|
||||
key <LatR> {[r, R, 1]};
|
||||
key <LatT> {[t, T, braceright]};
|
||||
key <LatY> {[y, Y, bar]};
|
||||
key <LatY> {[y, Y, ssharp]};
|
||||
key <LatU> {[u, U, 5]};
|
||||
key <LatI> {[i, I, exclam]};
|
||||
key <LatO> {[o, O, 3]};
|
||||
@@ -21,19 +21,20 @@ xkb_symbols "cc1-thea"
|
||||
key <LatF> {[f, F, 6]};
|
||||
key <LatG> {[g, G, asciicircum]};
|
||||
key <LatH> {[h, H, bracketright]};
|
||||
key <LatJ> {[j, J, percent]};
|
||||
key <LatJ> {[j, J, EuroSign]};
|
||||
key <LatK> {[k, K, 7]};
|
||||
key <LatL> {[l, L, slash]};
|
||||
key <AC10> {[semicolon, colon, dollar, EuroSign]};
|
||||
key <LatL> {[l, L, percent]};
|
||||
key <AC10> {[semicolon, colon, dollar]};
|
||||
key <AC11> {[apostrophe, quotedbl, ampersand]};
|
||||
key <LatZ> {[z, Z, dead_diaeresis]};
|
||||
key <LatX> {[x, X, plus]};
|
||||
key <LatX> {[x, X, numbersign]};
|
||||
key <LatC> {[c, C, parenleft]};
|
||||
key <LatV> {[v, V, less]};
|
||||
key <LatB> {[b, B, 8]};
|
||||
key <LatN> {[n, N, 2]};
|
||||
key <LatM> {[m, M, bracketleft, mu]};
|
||||
key <AB08> {[comma, numbersign, grave]};
|
||||
key <AB09> {[period, asciitilde, backslash]};
|
||||
key <LatM> {[m, M, bracketleft]};
|
||||
key <AB08> {[comma, degree, grave]};
|
||||
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 = {
|
||||
height = 24;
|
||||
reload_style_on_change = true;
|
||||
exclusive = false;
|
||||
exclusive = true;
|
||||
|
||||
modules-center = [
|
||||
"clock"
|
||||
|
||||
Reference in New Issue
Block a user