1
1
Fork 0

Compare commits

...

8 commits

Author SHA1 Message Date
196b5e1de0
nix: update flake.lock
Signed-off-by: Myned <dev@bjork.tech>
2025-01-09 20:26:16 -06:00
0fc8bdbd3c
remote.sh: disable keybind remap
Signed-off-by: Myned <dev@bjork.tech>
2025-01-09 20:26:08 -06:00
ea32eaf554
ghostty: add config
Signed-off-by: Myned <dev@bjork.tech>
2025-01-09 20:25:38 -06:00
2efc835c27
tzupdate: add fixme
Signed-off-by: Myned <dev@bjork.tech>
2025-01-09 20:25:26 -06:00
811388adf5
fonts: add fallback option
Signed-off-by: Myned <dev@bjork.tech>
2025-01-09 20:25:14 -06:00
5153b25e99
waybar: use sdl-freerdp
Signed-off-by: Myned <dev@bjork.tech>
2025-01-09 20:24:43 -06:00
0943249d4d
niri: modify config
Signed-off-by: Myned <dev@bjork.tech>
2025-01-09 20:24:21 -06:00
c2d6b126b7
nix: use freerdp3 nixpkgs fork
Signed-off-by: Myned <dev@bjork.tech>
2025-01-09 20:23:22 -06:00
15 changed files with 189 additions and 106 deletions

View file

@ -48,21 +48,22 @@
stable = nixpkgs "stable";
unstable = nixpkgs "unstable";
staging-next = nixpkgs "staging-next";
master = nixpkgs "master";
dcsunset = nixpkgs "dcsunset";
#// local = nixpkgs "local";
in {
# Overlay nixpkgs branches
#?? nixpkgs.BRANCH.PACKAGE
inherit stable unstable staging-next;
inherit stable unstable master;
### Packages
# BUG: Build tests often fail on unstable
# https://github.com/NixOS/nixpkgs/issues/333946
fprintd = stable.fprintd;
# BUG: Empty password regression, remove > v3.9.0 on unstable
# https://github.com/FreeRDP/FreeRDP/issues/10784
freerdp3 = stable.freerdp3;
# TODO: Remove when on unstable
# https://github.com/NixOS/nixpkgs/pull/369808
freerdp3 = dcsunset.freerdp3;
### Development
#// ciscoPacketTracer8 = local.ciscoPacketTracer8;

View file

@ -36,7 +36,7 @@
stylix-stable = flake "github:danth/stylix/release-24.11" // stable "nixpkgs";
### Unstable
nixpkgs-unstable = flake "github:NixOS/nixpkgs/nixos-unstable-small";
nixpkgs-unstable = flake "github:NixOS/nixpkgs/nixos-unstable";
aagl-gtk-on-nix-unstable = flake "github:ezKEa/aagl-gtk-on-nix" // unstable "nixpkgs";
agenix = flake "github:ryantm/agenix" // unstable "nixpkgs";
@ -66,8 +66,9 @@
stylix-unstable = flake "github:danth/stylix" // unstable "nixpkgs";
walker = flake "github:abenz1267/walker?ref=v0.10.15" // unstable "nixpkgs";
### Staging
nixpkgs-staging-next = flake "github:NixOS/nixpkgs/staging-next";
### Branches
nixpkgs-dcsunset = flake "github:DCsunset/nixpkgs/update-freerdp3";
nixpkgs-master = flake "github:NixOS/nixpkgs/master";
### Development
#// nixpkgs-local = flake "git+file:///home/myned/SYNC/dev/repo/nixpkgs";

149
flake.lock generated
View file

@ -1463,11 +1463,11 @@
]
},
"locked": {
"lastModified": 1735344290,
"narHash": "sha256-oJDtWPH1oJT34RJK1FSWjwX4qcGOBRkcNQPD0EbSfNM=",
"lastModified": 1736373539,
"narHash": "sha256-dinzAqCjenWDxuy+MqUQq0I4zUSfaCvN9rzuCmgMZJY=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "613691f285dad87694c2ba1c9e6298d04736292d",
"rev": "bd65bc3cde04c16755955630b344bc9e35272c56",
"type": "github"
},
"original": {
@ -1484,11 +1484,11 @@
]
},
"locked": {
"lastModified": 1736204492,
"narHash": "sha256-CoBPRgkUex9Iz6qGSzi/BFVUQjndB0PmME2B6eEyeCs=",
"lastModified": 1736421950,
"narHash": "sha256-RyrX0WFXxFrYvzHNLTIyuk3NcNl3UBykuYru/P0zW5E=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "20665c6efa83d71020c8730f26706258ba5c6b2a",
"rev": "d4aebb947a301b8da8654a804979a738c5c5da50",
"type": "github"
},
"original": {
@ -1717,11 +1717,11 @@
]
},
"locked": {
"lastModified": 1736115213,
"narHash": "sha256-x15KPKaSDBe07tQqkBnN1CV3kthMe0RTu9QomIr2YHg=",
"lastModified": 1736372092,
"narHash": "sha256-+uxeBRTrDZsH6HtVtlMuJLLPJw3usPpG2/pm/L30c3E=",
"owner": "hyprwm",
"repo": "hyprland-plugins",
"rev": "b6b31113ce84419c69ed575c22194e4023d2952a",
"rev": "b4c0fa3ebc6ccd1589dcd17904652223088efede",
"type": "github"
},
"original": {
@ -2177,11 +2177,11 @@
]
},
"locked": {
"lastModified": 1736230943,
"narHash": "sha256-ip5uSnhTJGYnM6n37dZVykdGWt0CBanbNiuQA818wtY=",
"lastModified": 1736409493,
"narHash": "sha256-XezBEaGENmXgndx2gsVxQ0JoHUeQs9OSUZvVx/GDqyQ=",
"owner": "Jovian-Experiments",
"repo": "Jovian-NixOS",
"rev": "d41e1e88d45d72876cef87ccbf597ca5b99ab4bb",
"rev": "9a958cc0aa5241ea3badf44a063a4b0389dc0110",
"type": "github"
},
"original": {
@ -2232,11 +2232,11 @@
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1736073506,
"narHash": "sha256-c8UMa0Yb8hYm9D3Q/k+GsRxsk8oTYy2OJywCHjWXrlU=",
"lastModified": 1736412901,
"narHash": "sha256-BlZBzs895dvKE3Y9joC8kxAsTOFBchIWC2YNtWhysew=",
"owner": "YaLTeR",
"repo": "niri",
"rev": "89678c7b1e6ebe6ec5411db5a2b99bd6bea63565",
"rev": "142e57450dae5eba25b7f306d3c6dc9f51518a3d",
"type": "github"
},
"original": {
@ -2257,11 +2257,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
},
"locked": {
"lastModified": 1736149834,
"narHash": "sha256-newGrF/Y2a457+jjWEwg+oVGeFnSt1UY6zkF/hlSMCY=",
"lastModified": 1736416109,
"narHash": "sha256-WXh21oWr1CdyjbHiLgJsxWh3Cgn/PX0emP00jpD+61U=",
"owner": "sodiboo",
"repo": "niri-flake",
"rev": "2ac88ed580655c5cf089b279c7b6227328bb4a95",
"rev": "4f9b050c5106d40a56bdf29d1f262711554c158e",
"type": "github"
},
"original": {
@ -2290,11 +2290,11 @@
"niri-unstable": {
"flake": false,
"locked": {
"lastModified": 1736073506,
"narHash": "sha256-c8UMa0Yb8hYm9D3Q/k+GsRxsk8oTYy2OJywCHjWXrlU=",
"lastModified": 1736412901,
"narHash": "sha256-BlZBzs895dvKE3Y9joC8kxAsTOFBchIWC2YNtWhysew=",
"owner": "YaLTeR",
"repo": "niri",
"rev": "89678c7b1e6ebe6ec5411db5a2b99bd6bea63565",
"rev": "142e57450dae5eba25b7f306d3c6dc9f51518a3d",
"type": "github"
},
"original": {
@ -2498,11 +2498,11 @@
]
},
"locked": {
"lastModified": 1736214462,
"narHash": "sha256-JcwPAIcZ3DeNimp+tULr83MBSTTZIfQBwvuhw5wMVt0=",
"lastModified": 1736388880,
"narHash": "sha256-lA+4MhhcdoanbMnFLjZW+jPdEKcsLs9st2GAst1iuVU=",
"owner": "nix-community",
"repo": "nix-vscode-extensions",
"rev": "9893dc8ad11e92b461e75a8ae51473c8620aa0a8",
"rev": "2a84ca07753e3ec608c96ed2907606361979467a",
"type": "github"
},
"original": {
@ -2552,11 +2552,11 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1735752858,
"narHash": "sha256-YzrT9iIODyf96XLhgDi2ESKvrl1v7iNhMqMdNjTTSW4=",
"lastModified": 1736350641,
"narHash": "sha256-7tocojT95MzQb6BczrFd+W7CyNxGqe5Qg8aicqA+yLI=",
"owner": "nix-community",
"repo": "nixd",
"rev": "17b7dfd1b4a888ded1bbf875b7601e40f43f94e8",
"rev": "6e581414b2f4c7834aef340118ea7134de98aae3",
"type": "github"
},
"original": {
@ -2567,11 +2567,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1736237814,
"narHash": "sha256-uTdscVaKjnRnBIMuu/oWwdiGhYd/JOQ4YZGHeCoroqs=",
"lastModified": 1736283893,
"narHash": "sha256-BG1FfTexFwNty5VhYjaQLMR6CMPfI3QRcaZrFQYu2EM=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "ca30f8501ab452ca687a7fdcb2d43e1fb1732317",
"rev": "4f339f6be2b61662f957c2ee9eda0fa597d8a6d6",
"type": "github"
},
"original": {
@ -2596,6 +2596,22 @@
"type": "github"
}
},
"nixpkgs-dcsunset": {
"locked": {
"lastModified": 1735686165,
"narHash": "sha256-BQmEExxMOY+clGXOAcJwozofkTTqDFpgWhM3GVFSUOQ=",
"owner": "DCsunset",
"repo": "nixpkgs",
"rev": "b123dc469da3fcfb85860f4eb6ddb4d63d79a33c",
"type": "github"
},
"original": {
"owner": "DCsunset",
"ref": "update-freerdp3",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1733096140,
@ -2608,6 +2624,22 @@
"url": "https://github.com/NixOS/nixpkgs/archive/5487e69da40cbd611ab2cadee0b4637225f7cfae.tar.gz"
}
},
"nixpkgs-master": {
"locked": {
"lastModified": 1736463205,
"narHash": "sha256-CfGtZWEbLitx2XIsJzAa/vHxvgv4DECfW7g14z2in/w=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "bc4f1c13b19761d41e24afc84e433bbb9637cc14",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "master",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-regression": {
"locked": {
"lastModified": 1643052045,
@ -2690,11 +2722,11 @@
},
"nixpkgs-stable_4": {
"locked": {
"lastModified": 1736061677,
"narHash": "sha256-DjkQPnkAfd7eB522PwnkGhOMuT9QVCZspDpJJYyOj60=",
"lastModified": 1736200483,
"narHash": "sha256-JO+lFN2HsCwSLMUWXHeOad6QUxOuwe9UOAF/iSl1J4I=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "cbd8ec4de4469333c82ff40d057350c30e9f7d36",
"rev": "3f0a8ac25fb674611b98089ca3a5dd6480175751",
"type": "github"
},
"original": {
@ -2706,11 +2738,11 @@
},
"nixpkgs-stable_5": {
"locked": {
"lastModified": 1736061677,
"narHash": "sha256-DjkQPnkAfd7eB522PwnkGhOMuT9QVCZspDpJJYyOj60=",
"lastModified": 1736200483,
"narHash": "sha256-JO+lFN2HsCwSLMUWXHeOad6QUxOuwe9UOAF/iSl1J4I=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "cbd8ec4de4469333c82ff40d057350c30e9f7d36",
"rev": "3f0a8ac25fb674611b98089ca3a5dd6480175751",
"type": "github"
},
"original": {
@ -2720,34 +2752,18 @@
"type": "github"
}
},
"nixpkgs-staging-next": {
"locked": {
"lastModified": 1736265129,
"narHash": "sha256-TvQDNIwBeOZeyvpkgv/66NhFZKux0reAVlDyDu1oukQ=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "0df29a71359f644693377a0a79deb96a81072392",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "staging-next",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1736296779,
"narHash": "sha256-sCETZgHp3dS6TYMByR3bGjO5rwX6BpFx1bdCpULC8Og=",
"lastModified": 1736344531,
"narHash": "sha256-8YVQ9ZbSfuUk2bUf2KRj60NRraLPKPS0Q4QFTbc+c2c=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "da76b6311eb169eb526de6feeae7492283fe1f8b",
"rev": "bffc22eb12172e6db3c5dde9e3e5628f8e3e7912",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable-small",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
@ -2908,8 +2924,9 @@
"nix-vscode-extensions": "nix-vscode-extensions",
"nixd": "nixd",
"nixos-hardware": "nixos-hardware",
"nixpkgs-dcsunset": "nixpkgs-dcsunset",
"nixpkgs-master": "nixpkgs-master",
"nixpkgs-stable": "nixpkgs-stable_5",
"nixpkgs-staging-next": "nixpkgs-staging-next",
"nixpkgs-unstable": "nixpkgs-unstable",
"steamtinkerlaunch": "steamtinkerlaunch",
"stylix-stable": "stylix-stable",
@ -2994,11 +3011,11 @@
"tinted-tmux": "tinted-tmux"
},
"locked": {
"lastModified": 1736203541,
"narHash": "sha256-ucHJzVv3lGxq7v+snqs/rDNwojVyvBHxwQ5yE2qNfNc=",
"lastModified": 1736381946,
"narHash": "sha256-k66y4eMHZiJO3N43wuZOdoRmGmNwIj3EZq6NGK+AEM8=",
"owner": "danth",
"repo": "stylix",
"rev": "45af2a43aaaf05dfb8839dc827c2e2b0d98375da",
"rev": "c62df1918d178ade64dc8a2df99e78a5d5f20514",
"type": "github"
},
"original": {
@ -3030,11 +3047,11 @@
"tinted-zed": "tinted-zed"
},
"locked": {
"lastModified": 1736201929,
"narHash": "sha256-TC6nITVcD+qxjPOWGmLAshuOkILocvzxfHj0Vsu6FAI=",
"lastModified": 1736300059,
"narHash": "sha256-z3mR+0gBN/iVM8UgfCSIxjgw4jm1bu1kjMKyQx9mGBc=",
"owner": "danth",
"repo": "stylix",
"rev": "1d7b70ed9ee4c3b24ed6b0c7c64a0ee5fcc4ae10",
"rev": "168306ce7f5d823ccee8b7d4e112ea20671c2b8f",
"type": "github"
},
"original": {
@ -3501,11 +3518,11 @@
"xwayland-satellite-unstable": {
"flake": false,
"locked": {
"lastModified": 1734745564,
"narHash": "sha256-JQNl4pqonVVPQ2JzEOLUcPVRNj//FFFNRDyvQoOkG7s=",
"lastModified": 1736399287,
"narHash": "sha256-6S9TXKK/4PZGQkl3GTGq479aRN1Z1pgbSxs6/dNKUJ4=",
"owner": "Supreeeme",
"repo": "xwayland-satellite",
"rev": "94da1af75326d89ecb12aba0cc9362e93ffdc766",
"rev": "ba9c1a6a3e00dc01a9a6a2bf57c5fc0c5aa46ed4",
"type": "github"
},
"original": {

View file

@ -121,9 +121,10 @@
url = "github:nix-community/nixd";
};
nixos-hardware.url = "github:NixOS/nixos-hardware";
nixpkgs-dcsunset.url = "github:DCsunset/nixpkgs/update-freerdp3";
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.11";
nixpkgs-staging-next.url = "github:NixOS/nixpkgs/staging-next";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable-small";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
steamtinkerlaunch = {
flake = false;
url = "github:sonic2kk/steamtinkerlaunch";

View file

@ -12,6 +12,7 @@ with lib; let
bash = "${pkgs.bash}/bin/bash";
cat = "${pkgs.coreutils}/bin/cat";
codium = "${config.home-manager.users.${config.custom.username}.programs.vscode.package}/bin/codium";
ghostty = "${hm.programs.ghostty.package}/bin/ghostty";
hyprlock = "${config.home-manager.users.${config.custom.username}.programs.hyprlock.package}/bin/hyprlock";
hyprpicker = "${pkgs.hyprpicker}/bin/hyprpicker";
inhibit = config.home-manager.users.${config.custom.username}.home.file.".local/bin/inhibit".source;
@ -60,11 +61,11 @@ in {
};
# Launch VM
vm = ''${remote} --vm --client xfreerdp --username Myned --password "$(${cat} ${config.age.secrets."desktop/vm/myndows.pass".path})" ${
if config.custom.hidpi
then "--scale 140"
else ""
} myndows'';
vm = [
bash
"-c"
''${remote} --vm --client sdl-freerdp --username Myned --password "$(${cat} ${config.age.secrets."desktop/vm/myndows.pass".path})" myndows''
];
in
listToAttrs (with hm.lib.niri.actions; [
(key "0" "Mod" (spawn [swayosd-client "--output-volume" "mute-toggle"]))
@ -147,8 +148,8 @@ in {
(key "Slash" "Mod+Shift" show-hotkey-overlay)
(key "Space" "Ctrl+Alt" (spawn ["lifx" "toggle"]))
(key "Space" "Ctrl+Alt" (spawn ["lifx" "toggle"]))
(key "T" "Ctrl+Alt" (spawn [pkill "kitty"]))
(key "T" "Mod" (spawn kitty))
(key "T" "Ctrl+Alt" (spawn [pkill "ghostty"]))
(key "T" "Mod" (spawn ghostty))
(key "Tab" "Mod" switch-focus-between-floating-and-tiling)
(key "Up" "Mod" (spawn [swayosd-client "--brightness" "raise"]))
(key "V" "Mod" (spawn virt-manager))

View file

@ -97,6 +97,11 @@ in {
(leaf "open-floating" true)
(leaf "open-focused" false)
])
(plain "window-rule" [
(leaf "match" {app-id = "^(sdl-|wl|x)freerdp$";})
(leaf "open-floating" false)
])
]);
# https://github.com/YaLTeR/niri/wiki/Configuration:-Debug-Options

View file

@ -32,7 +32,10 @@ in {
#// center-focused-column = mkIf config.custom.ultrawide "always";
# https://github.com/sodiboo/niri-flake/blob/main/docs.md#programsnirisettingslayoutdefault-column-width
default-column-width.proportion = 3.0 / 10.0; # 30%
default-column-width.proportion =
if config.custom.ultrawide
then 0.3 # 30%
else 0.6; # 60%
# TODO: Uncomment after next release > v1.10.1
#// empty-workspace-above-first = true;
@ -56,21 +59,21 @@ in {
# https://github.com/sodiboo/niri-flake/blob/main/docs.md#programsnirisettingslayoutpreset-column-widths
preset-column-widths = [
{proportion = 3.0 / 10.0;} # 30%, default
{proportion = 4.0 / 10.0;} # 40%
{proportion = 5.0 / 10.0;} # 50%
{proportion = 6.0 / 10.0;} # 60%
{proportion = 7.0 / 10.0;} # 70%
{proportion = 0.3;} # 30%, default
{proportion = 0.4;} # 40%
{proportion = 0.5;} # 50%
{proportion = 0.6;} # 60%
{proportion = 0.7;} # 70%
];
# https://github.com/sodiboo/niri-flake/blob/main/docs.md#programsnirisettingslayoutpreset-window-heights
preset-window-heights = [
{proportion = 7.0 / 10.0;} # 70%
{proportion = 6.0 / 10.0;} # 60%
{proportion = 5.0 / 10.0;} # 50%
{proportion = 4.0 / 10.0;} # 40%
{proportion = 3.0 / 10.0;} # 30%
{proportion = 10.0 / 10.0;} # 100%, default
{proportion = 0.7;} # 70%
{proportion = 0.6;} # 60%
{proportion = 0.5;} # 50%
{proportion = 0.4;} # 40%
{proportion = 0.3;} # 30%
{proportion = 1.0;} # 100%, default
];
# https://github.com/sodiboo/niri-flake/blob/main/docs.md#programsnirisettingslayoutstruts

View file

@ -63,6 +63,11 @@ in {
{app-id = "^vivaldi.*$";}
];
default-column-width.proportion =
if config.custom.ultrawide
then 0.4
else 0.7;
#// open-on-workspace = "2";
}

View file

@ -5,7 +5,6 @@
}:
with lib; let
cfg = config.custom.programs.ghostty;
hm = config.home-manager.users.${config.custom.username};
in {
options.custom.programs.ghostty = {
enable = mkOption {default = false;};
@ -19,7 +18,52 @@ in {
enable = true;
# https://ghostty.org/docs/config/reference
settings = {
settings = rec {
adjust-cell-width = -1;
# https://ghostty.org/docs/config/reference#adw-toolbar-style
adw-toolbar-style = "flat";
# https://ghostty.org/docs/config/reference#cursor-style-blink
cursor-style-blink = false;
# https://ghostty.org/docs/config/reference#font-family
#?? ghostty +list-fonts
#?? ghostty +show-face
font-family = with config.custom.settings.fonts; [monospace fallback];
font-family-bold = font-family;
# https://ghostty.org/docs/config/reference#font-size
font-size = 14;
# https://ghostty.org/docs/config/reference#gtk-titlebar
gtk-titlebar = false;
# https://ghostty.org/docs/config/reference#mouse-hide-while-typing
mouse-hide-while-typing = true;
# https://ghostty.org/docs/config/reference#shell-integration-features
shell-integration-features = "no-cursor";
# https://ghostty.org/docs/features/theme
# https://ghostty.org/docs/config/reference#theme
#?? ghostty +list-themes
theme = "Builtin Solarized Dark";
# https://ghostty.org/docs/config/reference#window-decoration
window-decoration = false;
# https://ghostty.org/docs/config/reference#window-new-tab-position
window-new-tab-position = "end";
# https://ghostty.org/docs/config/reference#window-padding-balance
# BUG: Not always distributed equally
# https://github.com/ghostty-org/ghostty/discussions/3941
window-padding-balance = true;
# https://ghostty.org/docs/config/reference#window-padding-x
window-padding-x = 8;
window-padding-y = 4;
};
};
}

View file

@ -435,11 +435,7 @@ in {
interval = 5;
on-click = ''${remote} --vm --client xfreerdp --username Myned --password "$(${cat} ${config.age.secrets."desktop/vm/myndows.pass".path})" ${
if config.custom.hidpi
then "--scale 140"
else ""
} myndows'';
on-click = ''${remote} --vm --client sdl-freerdp --username Myned --password "$(${cat} ${config.age.secrets."desktop/vm/myndows.pass".path})" myndows'';
on-click-middle = "${virsh} shutdown myndows";
on-click-right = virt-manager;

View file

@ -52,7 +52,11 @@ elif [[ "${argc_client:-}" =~ ^.+freerdp$ ]]; then
"/v:${argc_host:-}"
"/u:${argc_username:-}"
"/p:${argc_password:-}"
"/kbd:remap:015b=0154" # VK_LWIN=<00> #?? xfreerdp /list:kbd-scancode
# BUG: Invalid argument regression?
# https://github.com/FreeRDP/FreeRDP/issues/10810
#// "/kbd:remap:015b=0154" # VK_LWIN=<00> #?? sdl-freerdp /list:kbd-scancode
"/scale:${argc_scale:-}"
"/dynamic-resolution"
"/sound"

View file

@ -14,6 +14,7 @@ in {
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/misc/tzupdate.nix
systemd.services.tzupdate = {
# FIXME: Fails at boot, possibly needs to wait for tailscaled.service
wantedBy = ["network-online.target"]; # Run at boot without checking for Internet access
};
};

View file

@ -25,7 +25,7 @@ in {
fill-tabs = mkBoolean true;
floating-controls = mkBoolean true;
floating-controls-hover-area = mkUint32 10;
font = mkString "${config.custom.settings.fonts.monospace} 14";
font = mkString "monospace 14";
headerbar-drag-area = mkBoolean false;
notify-process-completion = mkBoolean false;
opacity = mkUint32 100;
@ -71,7 +71,7 @@ in {
cursor-blink = mkBoolean false;
gtk-enable-primary-paste = mkBoolean false;
color-scheme = mkString "prefer-dark";
monospace-font-name = mkString "${config.custom.settings.fonts.monospace} 14";
monospace-font-name = mkString "monospace 14";
};
# GNOME Files

View file

@ -10,6 +10,7 @@ in {
options.custom.settings.fonts = {
enable = mkOption {default = false;};
emoji = mkOption {default = "Noto Color Emoji";};
fallback = mkOption {default = "Unifont";};
monospace = mkOption {default = "IosevkaTerm NFP SemiBold";};
sans-serif = mkOption {default = "Outfit";};
serif = mkOption {default = "Liberation Serif";};
@ -54,6 +55,9 @@ in {
# Microsoft
corefonts
vistafonts
# Fallback
unifont
]);
#?? fc-list --brief | grep family: | sort

View file

@ -41,7 +41,7 @@ in {
};
gtk4 = {
extraConfig.gtk-hint-font-metrics = 1; # Fix blurry fonts
#// extraConfig.gtk-hint-font-metrics = 1; # Fix blurry fonts
extraCss = css;
};
};