Thablet upgrade
This commit is contained in:
parent
6791f73744
commit
576f09d4e0
6 changed files with 164 additions and 147 deletions
|
@ -1,6 +1,17 @@
|
||||||
{outputs, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
outputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
imports = with outputs.homeManagerModules; [
|
imports = with outputs.homeManagerModules; [
|
||||||
kitty
|
kitty
|
||||||
wezterm
|
wezterm
|
||||||
];
|
];
|
||||||
|
|
||||||
|
home.pointerCursor = {
|
||||||
|
name = "Bibata-Modern-Classic";
|
||||||
|
package = pkgs.bibata-cursors;
|
||||||
|
size = 64; # TODO: this doesn't seem to work -- at least in Sway
|
||||||
|
# some icons are also missing (hand2?)
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,6 +7,7 @@ with builtins;
|
||||||
"melee"
|
"melee"
|
||||||
"ewwbar"
|
"ewwbar"
|
||||||
"desktop-usage"
|
"desktop-usage"
|
||||||
|
"fonts"
|
||||||
"intel"
|
"intel"
|
||||||
"lutris"
|
"lutris"
|
||||||
"pipewire"
|
"pipewire"
|
||||||
|
|
|
@ -10,142 +10,13 @@
|
||||||
# ./hyprland.nix
|
# ./hyprland.nix
|
||||||
# ./plasma.nix
|
# ./plasma.nix
|
||||||
# ./gnome.nix
|
# ./gnome.nix
|
||||||
|
./fonts.nix
|
||||||
./user-installed-applications.nix
|
./user-installed-applications.nix
|
||||||
./kde-connect.nix
|
./kde-connect.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.overlays = [outputs.overlays.modifications];
|
nixpkgs.overlays = [outputs.overlays.modifications];
|
||||||
|
|
||||||
# fonts.packages if unstable?
|
|
||||||
fonts.packages = with pkgs;
|
|
||||||
[
|
|
||||||
(nerdfonts.override {fonts = ["NerdFontsSymbolsOnly"];})
|
|
||||||
]
|
|
||||||
++ (with inputs.nixpkgs.legacyPackages.${system}; [
|
|
||||||
(iosevka.override {
|
|
||||||
set = "lyteterm";
|
|
||||||
privateBuildPlan = ''
|
|
||||||
[buildPlans.iosevka-lyteterm]
|
|
||||||
family = "IosevkaLyteTerm"
|
|
||||||
spacing = "fontconfig-mono"
|
|
||||||
serifs = "sans"
|
|
||||||
export-glyph-names = true
|
|
||||||
|
|
||||||
[buildPlans.iosevka-lyteterm.ligations]
|
|
||||||
inherits = "dlig"
|
|
||||||
disables = [ "exeqeqeq", "exeqeq", "exeqeq-dl", "exeq", "ineq", "connected-underscore", "connected-tilde-as-wave" ]
|
|
||||||
|
|
||||||
[buildPlans.iosevka-lyteterm.weights.regular]
|
|
||||||
shape = 400
|
|
||||||
menu = 400
|
|
||||||
css = 400
|
|
||||||
|
|
||||||
[buildPlans.iosevka-lyteterm.weights.book]
|
|
||||||
shape = 450
|
|
||||||
menu = 450
|
|
||||||
css = 450
|
|
||||||
|
|
||||||
[buildPlans.iosevka-lyteterm.weights.bold]
|
|
||||||
shape = 700
|
|
||||||
menu = 700
|
|
||||||
css = 700
|
|
||||||
|
|
||||||
[buildPlans.iosevka-lyteterm.weights.black]
|
|
||||||
shape = 900
|
|
||||||
menu = 900
|
|
||||||
css = 900
|
|
||||||
|
|
||||||
# [[buildPlans.iosevka-lyteterm.compatibility-ligatures]]
|
|
||||||
# unicode = 57600 # 0xE100
|
|
||||||
# featureTag = 'calt'
|
|
||||||
# kequence = '<*>'
|
|
||||||
|
|
||||||
[buildPlans.iosevka-lyteterm.variants]
|
|
||||||
inherits = "ss01"
|
|
||||||
|
|
||||||
[buildPlans.iosevka-lyteterm.variants.design]
|
|
||||||
capital-a = 'curly-serifless'
|
|
||||||
capital-b = 'standard-interrupted-serifless'
|
|
||||||
capital-c = 'unilateral-inward-serifed'
|
|
||||||
capital-d = 'standard-serifless'
|
|
||||||
capital-g = 'toothless-rounded-inward-serifed-hooked'
|
|
||||||
capital-i = 'serifed'
|
|
||||||
capital-j = 'serifed'
|
|
||||||
capital-k = 'curly-serifless'
|
|
||||||
capital-l = 'motion-serifed'
|
|
||||||
capital-m = 'hanging-serifless'
|
|
||||||
capital-n = 'asymmetric-serifless'
|
|
||||||
capital-p = 'open-serifless'
|
|
||||||
capital-q = 'crossing'
|
|
||||||
capital-r = 'standing-open-serifless'
|
|
||||||
capital-s = 'unilateral-inward-serifed'
|
|
||||||
capital-t = 'motion-serifed'
|
|
||||||
capital-u = 'toothless-corner-serifless'
|
|
||||||
capital-v = 'curly-serifless'
|
|
||||||
capital-w = 'curly-serifless'
|
|
||||||
capital-x = 'curly-serifless'
|
|
||||||
capital-y = 'curly-base-serifed'
|
|
||||||
capital-z = 'curly-top-serifed-with-crossbar'
|
|
||||||
a = 'double-storey-toothless-corner'
|
|
||||||
b = 'toothless-corner-serifless'
|
|
||||||
c = 'unilateral-inward-serifed'
|
|
||||||
d = 'toothless-corner-serifless'
|
|
||||||
e = 'flat-crossbar'
|
|
||||||
f = 'tailed'
|
|
||||||
g = 'double-storey-open'
|
|
||||||
# g = 'single-storey-earless-corner-flat-hook'
|
|
||||||
h = 'straight-serifless'
|
|
||||||
i = 'tailed-serifed'
|
|
||||||
j = 'serifed'
|
|
||||||
k = 'curly-serifless'
|
|
||||||
l = 'tailed-serifed'
|
|
||||||
m = 'earless-corner-double-arch-serifless'
|
|
||||||
n = 'earless-corner-straight-serifless'
|
|
||||||
p = 'earless-corner-serifless'
|
|
||||||
q = 'earless-corner-diagonal-tailed-serifless'
|
|
||||||
r = 'earless-corner-serifless'
|
|
||||||
s = 'unilateral-inward-serifed'
|
|
||||||
t = 'bent-hook-asymmetric'
|
|
||||||
u = 'toothless-corner-serifless'
|
|
||||||
v = 'curly-serifless'
|
|
||||||
w = 'curly-serifless'
|
|
||||||
x = 'curly-serifless'
|
|
||||||
y = 'curly-turn-serifless'
|
|
||||||
z = 'curly-top-serifed-with-crossbar'
|
|
||||||
# cyrl-capital-ze = 'unilateral-inward-serifed'
|
|
||||||
zero = 'reverse-slashed-split'
|
|
||||||
one = 'base'
|
|
||||||
two = 'curly-neck'
|
|
||||||
three = 'two-arcs'
|
|
||||||
four = 'semi-open-non-crossing'
|
|
||||||
# five = 'vertical-upper-left-bar'
|
|
||||||
five = 'upright-flat'
|
|
||||||
six = 'straight-bar'
|
|
||||||
seven = 'curly-serifed-crossbar'
|
|
||||||
eight = 'two-circles'
|
|
||||||
nine = 'straight-bar'
|
|
||||||
tilde = 'low'
|
|
||||||
asterisk = 'penta-low'
|
|
||||||
underscore = 'above-baseline'
|
|
||||||
pilcrow = 'low'
|
|
||||||
caret = 'low'
|
|
||||||
paren = 'flat-arc'
|
|
||||||
brace = 'curly-flat-boundary'
|
|
||||||
number-sign = 'upright-open'
|
|
||||||
ampersand = 'upper-open'
|
|
||||||
at = 'compact'
|
|
||||||
dollar = 'interrupted'
|
|
||||||
cent = 'open'
|
|
||||||
percent = 'rings-segmented-slash'
|
|
||||||
bar = 'force-upright'
|
|
||||||
ascii-single-quote = 'raised-comma'
|
|
||||||
ascii-grave = 'straight'
|
|
||||||
question = 'smooth'
|
|
||||||
punctuation-dot = 'round'
|
|
||||||
'';
|
|
||||||
})
|
|
||||||
]);
|
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
opengl = {
|
opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
135
modules/nixos/fonts.nix
Normal file
135
modules/nixos/fonts.nix
Normal file
|
@ -0,0 +1,135 @@
|
||||||
|
{
|
||||||
|
inputs,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
# fonts.packages if unstable?
|
||||||
|
fonts.packages = with pkgs;
|
||||||
|
[
|
||||||
|
(nerdfonts.override {fonts = ["NerdFontsSymbolsOnly"];})
|
||||||
|
]
|
||||||
|
++ (with inputs.nixpkgs.legacyPackages.${system}; [
|
||||||
|
(iosevka.override {
|
||||||
|
set = "lyteterm";
|
||||||
|
privateBuildPlan = ''
|
||||||
|
[buildPlans.iosevka-lyteterm]
|
||||||
|
family = "IosevkaLyteTerm"
|
||||||
|
spacing = "fontconfig-mono"
|
||||||
|
serifs = "sans"
|
||||||
|
export-glyph-names = true
|
||||||
|
|
||||||
|
[buildPlans.iosevka-lyteterm.ligations]
|
||||||
|
inherits = "dlig"
|
||||||
|
disables = [ "exeqeqeq", "exeqeq", "exeqeq-dl", "exeq", "ineq", "connected-underscore", "connected-tilde-as-wave" ]
|
||||||
|
|
||||||
|
[buildPlans.iosevka-lyteterm.weights.regular]
|
||||||
|
shape = 400
|
||||||
|
menu = 400
|
||||||
|
css = 400
|
||||||
|
|
||||||
|
[buildPlans.iosevka-lyteterm.weights.book]
|
||||||
|
shape = 450
|
||||||
|
menu = 450
|
||||||
|
css = 450
|
||||||
|
|
||||||
|
[buildPlans.iosevka-lyteterm.weights.bold]
|
||||||
|
shape = 700
|
||||||
|
menu = 700
|
||||||
|
css = 700
|
||||||
|
|
||||||
|
[buildPlans.iosevka-lyteterm.weights.black]
|
||||||
|
shape = 900
|
||||||
|
menu = 900
|
||||||
|
css = 900
|
||||||
|
|
||||||
|
# [[buildPlans.iosevka-lyteterm.compatibility-ligatures]]
|
||||||
|
# unicode = 57600 # 0xE100
|
||||||
|
# featureTag = 'calt'
|
||||||
|
# kequence = '<*>'
|
||||||
|
|
||||||
|
[buildPlans.iosevka-lyteterm.variants]
|
||||||
|
inherits = "ss01"
|
||||||
|
|
||||||
|
[buildPlans.iosevka-lyteterm.variants.design]
|
||||||
|
capital-a = 'curly-serifless'
|
||||||
|
capital-b = 'standard-interrupted-serifless'
|
||||||
|
capital-c = 'unilateral-inward-serifed'
|
||||||
|
capital-d = 'standard-serifless'
|
||||||
|
capital-g = 'toothless-rounded-inward-serifed-hooked'
|
||||||
|
capital-i = 'serifed'
|
||||||
|
capital-j = 'serifed'
|
||||||
|
capital-k = 'curly-serifless'
|
||||||
|
capital-l = 'motion-serifed'
|
||||||
|
capital-m = 'hanging-serifless'
|
||||||
|
capital-n = 'asymmetric-serifless'
|
||||||
|
capital-p = 'open-serifless'
|
||||||
|
capital-q = 'crossing'
|
||||||
|
capital-r = 'standing-open-serifless'
|
||||||
|
capital-s = 'unilateral-inward-serifed'
|
||||||
|
capital-t = 'motion-serifed'
|
||||||
|
capital-u = 'toothless-corner-serifless'
|
||||||
|
capital-v = 'curly-serifless'
|
||||||
|
capital-w = 'curly-serifless'
|
||||||
|
capital-x = 'curly-serifless'
|
||||||
|
capital-y = 'curly-base-serifed'
|
||||||
|
capital-z = 'curly-top-serifed-with-crossbar'
|
||||||
|
a = 'double-storey-toothless-corner'
|
||||||
|
b = 'toothless-corner-serifless'
|
||||||
|
c = 'unilateral-inward-serifed'
|
||||||
|
d = 'toothless-corner-serifless'
|
||||||
|
e = 'flat-crossbar'
|
||||||
|
f = 'tailed'
|
||||||
|
g = 'double-storey-open'
|
||||||
|
# g = 'single-storey-earless-corner-flat-hook'
|
||||||
|
h = 'straight-serifless'
|
||||||
|
i = 'tailed-serifed'
|
||||||
|
j = 'serifed'
|
||||||
|
k = 'curly-serifless'
|
||||||
|
l = 'tailed-serifed'
|
||||||
|
m = 'earless-corner-double-arch-serifless'
|
||||||
|
n = 'earless-corner-straight-serifless'
|
||||||
|
p = 'earless-corner-serifless'
|
||||||
|
q = 'earless-corner-diagonal-tailed-serifless'
|
||||||
|
r = 'earless-corner-serifless'
|
||||||
|
s = 'unilateral-inward-serifed'
|
||||||
|
t = 'bent-hook-asymmetric'
|
||||||
|
u = 'toothless-corner-serifless'
|
||||||
|
v = 'curly-serifless'
|
||||||
|
w = 'curly-serifless'
|
||||||
|
x = 'curly-serifless'
|
||||||
|
y = 'curly-turn-serifless'
|
||||||
|
z = 'curly-top-serifed-with-crossbar'
|
||||||
|
# cyrl-capital-ze = 'unilateral-inward-serifed'
|
||||||
|
zero = 'reverse-slashed-split'
|
||||||
|
one = 'base'
|
||||||
|
two = 'curly-neck'
|
||||||
|
three = 'two-arcs'
|
||||||
|
four = 'semi-open-non-crossing'
|
||||||
|
# five = 'vertical-upper-left-bar'
|
||||||
|
five = 'upright-flat'
|
||||||
|
six = 'straight-bar'
|
||||||
|
seven = 'curly-serifed-crossbar'
|
||||||
|
eight = 'two-circles'
|
||||||
|
nine = 'straight-bar'
|
||||||
|
tilde = 'low'
|
||||||
|
asterisk = 'penta-low'
|
||||||
|
underscore = 'above-baseline'
|
||||||
|
pilcrow = 'low'
|
||||||
|
caret = 'low'
|
||||||
|
paren = 'flat-arc'
|
||||||
|
brace = 'curly-flat-boundary'
|
||||||
|
number-sign = 'upright-open'
|
||||||
|
ampersand = 'upper-open'
|
||||||
|
at = 'compact'
|
||||||
|
dollar = 'interrupted'
|
||||||
|
cent = 'open'
|
||||||
|
percent = 'rings-segmented-slash'
|
||||||
|
bar = 'force-upright'
|
||||||
|
ascii-single-quote = 'raised-comma'
|
||||||
|
ascii-grave = 'straight'
|
||||||
|
question = 'smooth'
|
||||||
|
punctuation-dot = 'round'
|
||||||
|
'';
|
||||||
|
})
|
||||||
|
]);
|
||||||
|
}
|
|
@ -15,8 +15,9 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
|
||||||
system,
|
system,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = with outputs.nixosModules; [
|
||||||
outputs.nixosModules.intel
|
intel
|
||||||
|
fonts # so that it gets cached to the nix store
|
||||||
inputs.api-lyte-dev.nixosModules.${system}.api-lyte-dev
|
inputs.api-lyte-dev.nixosModules.${system}.api-lyte-dev
|
||||||
# inputs.nix-minecraft.nixosModules.minecraft-servers
|
# inputs.nix-minecraft.nixosModules.minecraft-servers
|
||||||
];
|
];
|
||||||
|
|
|
@ -9,23 +9,21 @@
|
||||||
}: {
|
}: {
|
||||||
networking.hostName = "thablet";
|
networking.hostName = "thablet";
|
||||||
|
|
||||||
imports =
|
imports = with outputs.nixosModules; [
|
||||||
[
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
flake.diskoConfigurations.standard
|
||||||
flake.diskoConfigurations.standard
|
inputs.hardware.nixosModules.lenovo-thinkpad-x1-yoga
|
||||||
inputs.hardware.nixosModules.lenovo-thinkpad-x1-yoga
|
desktop-usage
|
||||||
]
|
fonts
|
||||||
++ (with outputs.nixosModules; [
|
gnome
|
||||||
desktop-usage
|
wifi
|
||||||
gnome
|
flanfam
|
||||||
wifi
|
flanfamkiosk
|
||||||
flanfam
|
];
|
||||||
flanfamkiosk
|
|
||||||
]);
|
|
||||||
|
|
||||||
home-manager.users.daniel = {
|
home-manager.users.daniel = {
|
||||||
imports = with outputs.homeManagerModules; [
|
imports = with outputs.homeManagerModules; [
|
||||||
sway
|
linux-desktop
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue