update
This commit is contained in:
@@ -7,5 +7,6 @@ All of stuff(Wallpapers, Scripts, etc.) packaged in single nix deriv.
|
|||||||
* `zh.jpeg` - [じんだいじ-JINDAIJI-](https://jindaiji.fanbox.cc/posts/10183122)
|
* `zh.jpeg` - [じんだいじ-JINDAIJI-](https://jindaiji.fanbox.cc/posts/10183122)
|
||||||
* `cap_blow.png`[^1] - [シャポコ](https://www.pixiv.net/artworks/107214767)
|
* `cap_blow.png`[^1] - [シャポコ](https://www.pixiv.net/artworks/107214767)
|
||||||
* `cap_filter.png`[^1] - [シャポコ](https://www.pixiv.net/artworks/91199411)
|
* `cap_filter.png`[^1] - [シャポコ](https://www.pixiv.net/artworks/91199411)
|
||||||
|
* `su-30sm.png` - [Kerian_](https://www.pixiv.net/artworks/89246817)
|
||||||
|
|
||||||
[^1]: Not included as original file due to licensing. Download by yourself before compiling. When building/`nixos-rebuild`-ing with these gitignored files, please explicitly use `path:` directives to not using nix's git check/ignoring.
|
[^1]: Not included as original file due to licensing. Download by yourself before compiling. When building/`nixos-rebuild`-ing with these gitignored files, please explicitly use `path:` directives to not using nix's git check/ignoring.
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
default = my-ricing-assets;
|
default = my-ricing-assets;
|
||||||
my-wallpapers = pkgs.callPackage ./wallpapers {};
|
my-wallpapers = pkgs.callPackage ./wallpapers {};
|
||||||
my-scripts = pkgs.callPackage ./scripts {};
|
my-scripts = pkgs.callPackage ./scripts {};
|
||||||
|
my-xkb-config = pkgs.callPackage ./xkb {};
|
||||||
};
|
};
|
||||||
overlays.default = final: prev: { my-ricing-assets = final.callPackage ./package.nix {}; };
|
overlays.default = final: prev: { my-ricing-assets = final.callPackage ./package.nix {}; };
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,11 +2,13 @@
|
|||||||
let
|
let
|
||||||
my-scripts = pkgs.callPackage ./scripts {};
|
my-scripts = pkgs.callPackage ./scripts {};
|
||||||
my-wallpapers = pkgs.callPackage ./wallpapers {};
|
my-wallpapers = pkgs.callPackage ./wallpapers {};
|
||||||
|
my-xkb-config = pkgs.callPackage ./xkb {};
|
||||||
in
|
in
|
||||||
pkgs.symlinkJoin {
|
pkgs.symlinkJoin {
|
||||||
name = "my-ricing-assets";
|
name = "my-ricing-assets";
|
||||||
paths = [
|
paths = [
|
||||||
my-scripts
|
my-scripts
|
||||||
my-wallpapers
|
my-wallpapers
|
||||||
|
my-xkb-config
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,12 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
let
|
let
|
||||||
misskey-scripts = pkgs.callPackage ./misskey.nix {};
|
misskey-scripts = pkgs.callPackage ./misskey.nix {};
|
||||||
|
feh-wallpaper = pkgs.callPackage ./feh-wallpaper.nix {};
|
||||||
in
|
in
|
||||||
pkgs.symlinkJoin {
|
pkgs.symlinkJoin {
|
||||||
name = "my-scripts";
|
name = "my-scripts";
|
||||||
paths = [misskey-scripts];
|
paths = [
|
||||||
|
misskey-scripts
|
||||||
|
feh-wallpaper
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
let
|
||||||
|
feh-wallpaper-getRandom = pkgs.writeShellApplication {
|
||||||
|
name = "feh-wallpaper-getRandom";
|
||||||
|
runtimeInputs = with pkgs; [
|
||||||
|
feh
|
||||||
|
];
|
||||||
|
text = ''
|
||||||
|
bgs=$MY_RICING_ASSETS_PATH/usr/local/share/wallpapers
|
||||||
|
feh --bg-fill --randomize "$bgs"/*
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
in
|
||||||
|
pkgs.symlinkJoin {
|
||||||
|
name = "feh-wallpaper";
|
||||||
|
paths = [
|
||||||
|
feh-wallpaper-getRandom
|
||||||
|
];
|
||||||
|
}
|
||||||
+11
-12
@@ -7,25 +7,24 @@ let
|
|||||||
jq
|
jq
|
||||||
];
|
];
|
||||||
text = ''
|
text = ''
|
||||||
if [ ! -e /tmp//misskey-scripts/getLatestN1.fifo ]; then
|
if [ ! -e /tmp//misskey-scripts/getLatestN.fifo ]; then
|
||||||
mkdir -p /tmp/misskey-scripts
|
mkdir -p /tmp/misskey-scripts
|
||||||
mkfifo /tmp/misskey-scripts/getLatestN1.fifo
|
mkfifo /tmp/misskey-scripts/getLatestN.fifo
|
||||||
fi
|
|
||||||
if [ ! -e /tmp//misskey-scripts/getLatestN2.fifo ]; then
|
|
||||||
mkdir -p /tmp/misskey-scripts
|
|
||||||
mkfifo /tmp/misskey-scripts/getLatestN2.fifo
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pipeLocation1=/tmp/misskey-scripts/getLatestN1.fifo
|
limitNum=$1
|
||||||
pipeLocation2=/tmp/misskey-scripts/getLatestN2.fifo
|
delim=$2
|
||||||
|
pipeLocation=/tmp/misskey-scripts/getLatestN.fifo
|
||||||
|
queryText='.[].text + '
|
||||||
|
queryText+='"'
|
||||||
|
queryText+="$delim"
|
||||||
|
queryText+='"'
|
||||||
|
|
||||||
curl https://misskey.io/api/notes -s --request POST --header 'Content-Type: application/json' --data "{\"local\": true, \"reply\": false, \"renote\": false, \"withFiles\": false, \"poll\": false, \"limit\": $1}" > "$pipeLocation1" &
|
jq -M -r "$queryText" <(curl https://misskey.io/api/notes -s --request POST --header 'Content-Type: application/json' --data "{\"local\": true, \"reply\": false, \"renote\": false, \"withFiles\": false, \"poll\": false, \"limit\": $limitNum}") > $pipeLocation &
|
||||||
|
|
||||||
jq -M -r '.[].text' < $pipeLocation1 > $pipeLocation2 &
|
|
||||||
|
|
||||||
while read -r line; do
|
while read -r line; do
|
||||||
echo "$line"
|
echo "$line"
|
||||||
done < $pipeLocation2
|
done < $pipeLocation
|
||||||
wait
|
wait
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 7.1 MiB |
@@ -0,0 +1,9 @@
|
|||||||
|
{ stdenv, lib, ... }:
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "my-wallpapers";
|
||||||
|
src = ./.;
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/usr/local/share/xkb
|
||||||
|
cp -r symbols $out/usr/local/share/xkb/
|
||||||
|
'';
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
partial alphanumeric_keys
|
||||||
|
xkb_symbols "my-sym" {
|
||||||
|
include "us(basic)"
|
||||||
|
include "inet(evdev)"
|
||||||
|
name[Group1] = "English (US) with modified right side keys";
|
||||||
|
|
||||||
|
key <RALT> {[ Return ], type[group1] = "ONE_LEVEL" };
|
||||||
|
key <RCTL> {[ Escape ], type[group1] = "ONE_LEVEL" };
|
||||||
|
key <DEL> { [ F13, Delete ], type[group1] = "TWO_LEVEL" };
|
||||||
|
key <INS> { [ F14, Insert ], type[group1] = "TWO_LEVEL" };
|
||||||
|
key <ESC> {[ F15 ]};
|
||||||
|
key <RET> {[ Control_R ], type[group1] = "ONE_LEVEL" };
|
||||||
|
|
||||||
|
replace key <CAPS> {[ Control_L ], type[group1] = "ONE_LEVEL" };
|
||||||
|
replace key <LCTL> {[ Caps_Lock ]};
|
||||||
|
modifier_map Control { <CAPS> };
|
||||||
|
modifier_map Lock { <LCTL> };
|
||||||
|
};
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
partial alphanumeric_keys modifier_keys
|
||||||
|
xkb_symbols "my-sym-dvp" {
|
||||||
|
include "us(dvp)"
|
||||||
|
include "inet(evdev)"
|
||||||
|
name[Group1] = "English (US, Programmer Dvorak) with modified right side keys";
|
||||||
|
|
||||||
|
key <RALT> {[ Return ], type[group1] = "ONE_LEVEL" };
|
||||||
|
key <RCTL> {[ Escape ], type[group1] = "ONE_LEVEL" };
|
||||||
|
key <DEL> { [ F13, Delete ], type[group1] = "TWO_LEVEL" };
|
||||||
|
key <INS> { [ F14, Insert ], type[group1] = "TWO_LEVEL" };
|
||||||
|
key <ESC> {[ F15 ]};
|
||||||
|
key <RET> {[ Control_R ], type[group1] = "ONE_LEVEL" };
|
||||||
|
|
||||||
|
replace key <CAPS> {[ Control_L ], type[group1] = "ONE_LEVEL" };
|
||||||
|
replace key <LCTL> {[ Caps_Lock ]};
|
||||||
|
modifier_map Control { <CAPS> };
|
||||||
|
modifier_map Lock { <LCTL> };
|
||||||
|
};
|
||||||
Generated
+16
-16
@@ -57,11 +57,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1774559029,
|
"lastModified": 1778905220,
|
||||||
"narHash": "sha256-deix7yg3j6AhjMPnFDCmWB3f83LsajaaULP5HH2j34k=",
|
"narHash": "sha256-ox/5IHc8uwy6UTw6N7Shp6uCHIgu/S2PsWeuXsOHSo8=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "a0bb0d11514f92b639514220114ac8063c72d0a3",
|
"rev": "d1686dc7d36cbd1234cb226ad6ef97e882716acb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -90,11 +90,11 @@
|
|||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1774567711,
|
"lastModified": 1779258371,
|
||||||
"narHash": "sha256-uVlOHBvt6Vc/iYNJXLPa4c3cLXwMllOCVfAaLAcphIo=",
|
"narHash": "sha256-j1iZsLy6oFApqR1oiDmHhvkwxXqcNi0aoSJj643LuwU=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "3f6f874dfc34d386d10e434c48ad966c4832243e",
|
"rev": "c97bc4d15bd3473dd095e8e8ba57330ab1943a77",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -106,11 +106,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1774388614,
|
"lastModified": 1779102034,
|
||||||
"narHash": "sha256-tFwzTI0DdDzovdE9+Ras6CUss0yn8P9XV4Ja6RjA+nU=",
|
"narHash": "sha256-vZJZjLo513IeI8hjzHFc6TDezUd4uCE2Eq4SNO3DNNg=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "1073dad219cb244572b74da2b20c7fe39cb3fa9e",
|
"rev": "687f05a9184cad4eaf905c48b63649e3a86f5433",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -137,11 +137,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1774386573,
|
"lastModified": 1778869304,
|
||||||
"narHash": "sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc=",
|
"narHash": "sha256-30sZNZoA1cqF5JNO9fVX+wgiQYjB7HJqqJ4ztCDeBZE=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "46db2e09e1d3f113a13c0d7b81e2f221c63b8ce9",
|
"rev": "d233902339c02a9c334e7e593de68855ad26c4cb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -216,11 +216,11 @@
|
|||||||
"xserver-meson-flags": "xserver-meson-flags"
|
"xserver-meson-flags": "xserver-meson-flags"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771870945,
|
"lastModified": 1777909951,
|
||||||
"narHash": "sha256-4DYbVq+vGjr+D6vEZ1Ds9tby11XRcRO8Jv8eSDFV+38=",
|
"narHash": "sha256-vDl1AjSwywTSJYOEXh51IhM28CgR9kuK2dHOoIDl8+4=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "b2e21d095bf63dac90da626433ef20a84f798b40",
|
"rev": "ad187240632eec4b315ea93187a5f0e29af25830",
|
||||||
"revCount": 179,
|
"revCount": 187,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://codeberg.org/takagemacoed/xlibre-overlay"
|
"url": "https://codeberg.org/takagemacoed/xlibre-overlay"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -2,5 +2,6 @@
|
|||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
firefox
|
firefox
|
||||||
|
vimb
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
+5
-4
@@ -1,9 +1,10 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = (with pkgs.unstable; [
|
||||||
kicad
|
|
||||||
openscad
|
|
||||||
freecad
|
freecad
|
||||||
|
kicad
|
||||||
|
kicadAddons.kikit
|
||||||
librecad
|
librecad
|
||||||
];
|
openscad
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ in
|
|||||||
};
|
};
|
||||||
startup = [
|
startup = [
|
||||||
{ command = "fcitx5 -r"; always = true; notification = false; }
|
{ command = "fcitx5 -r"; always = true; notification = false; }
|
||||||
|
{ command = "owncloud"; always = true; notification = false;}
|
||||||
|
{ command = "feh-wallpaper-getRandom"; always = false; notification = false; }
|
||||||
];
|
];
|
||||||
modes = {
|
modes = {
|
||||||
resize = {
|
resize = {
|
||||||
@@ -86,6 +88,8 @@ in
|
|||||||
"XF86AudioRaiseVolume" = ''exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%'';
|
"XF86AudioRaiseVolume" = ''exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%'';
|
||||||
"XF86AudioLowerVolume" = ''exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5%'';
|
"XF86AudioLowerVolume" = ''exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5%'';
|
||||||
"XF86AudioMute" = ''exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle'';
|
"XF86AudioMute" = ''exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle'';
|
||||||
|
"XF86MonBrightnessUp" = ''exec --no-startup-id brightnessctl set 5%+'';
|
||||||
|
"XF86MonBrightnessDown" = ''exec --no-startup-id brightnessctl set 5%-'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
+16
-2
@@ -1,7 +1,7 @@
|
|||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
inherit (builtins) listToAttrs;
|
inherit (builtins) listToAttrs;
|
||||||
inherit (lib.lists) imap1 forEach reverseList elemAt;
|
inherit (lib.lists) imap1 forEach reverseList;
|
||||||
modules = [
|
modules = [
|
||||||
{
|
{
|
||||||
name = "time";
|
name = "time";
|
||||||
@@ -9,6 +9,20 @@ let
|
|||||||
format = "%Y %m/%d %a | %H:%M:%S";
|
format = "%Y %m/%d %a | %H:%M:%S";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "battery 1";
|
||||||
|
settings = {
|
||||||
|
format = "%status %remaining (%emptytime)";
|
||||||
|
format_percentage = "%.01f%s";
|
||||||
|
format_down = "No BAT";
|
||||||
|
status_chr = "CHR";
|
||||||
|
status_bat = "";
|
||||||
|
status_unk = "UNK";
|
||||||
|
status_full = "FULL";
|
||||||
|
low_threshold = 30;
|
||||||
|
threshold_type = "percentage";
|
||||||
|
};
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name = "load";
|
name = "load";
|
||||||
settings = {
|
settings = {
|
||||||
@@ -57,7 +71,7 @@ let
|
|||||||
v // { position = i; }
|
v // { position = i; }
|
||||||
) (reverseList modules);
|
) (reverseList modules);
|
||||||
modNameValList = forEach numberedModulesList (x: {
|
modNameValList = forEach numberedModulesList (x: {
|
||||||
name = x.name;
|
inherit (x) name;
|
||||||
value = {
|
value = {
|
||||||
inherit (x) settings position;
|
inherit (x) settings position;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -7,5 +7,6 @@
|
|||||||
kdePackages.kdenlive
|
kdePackages.kdenlive
|
||||||
gimp
|
gimp
|
||||||
inkscape
|
inkscape
|
||||||
|
obs-studio
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
prependCfg = lib.mkOrder 500 "";
|
prependCfg = lib.mkOrder 500 "";
|
||||||
appendCfg = lib.mkOrder 1500 ''
|
appendCfg = lib.mkOrder 1500 ''
|
||||||
bindkey -v
|
bindkey -v
|
||||||
|
export PS1="%n@%m:%B%~%b%(0?.. %F{red}%B(%?%)%b%f) %# "
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
lib.mkMerge [ prependCfg appendCfg ];
|
lib.mkMerge [ prependCfg appendCfg ];
|
||||||
|
|||||||
+9
-17
@@ -37,12 +37,12 @@
|
|||||||
services.ollama = {
|
services.ollama = {
|
||||||
enable = true;
|
enable = true;
|
||||||
acceleration = "rocm";
|
acceleration = "rocm";
|
||||||
package = pkgs.unstable.ollama-rocm;
|
package = pkgs.unstable.ollama;
|
||||||
};
|
};
|
||||||
services.open-webui = {
|
services.open-webui = {
|
||||||
enable = true;
|
enable = true;
|
||||||
port = 11111;
|
port = 11111;
|
||||||
package = pkgs.unstable.open-webui;
|
package = pkgs.open-webui;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.fprintd.enable = true;
|
services.fprintd.enable = true;
|
||||||
@@ -50,21 +50,10 @@
|
|||||||
services.xserver.windowManager.i3.enable = true;
|
services.xserver.windowManager.i3.enable = true;
|
||||||
services.xserver.resolutions = [ {x = 2560; y = 1600; } ];
|
services.xserver.resolutions = [ {x = 2560; y = 1600; } ];
|
||||||
services.xserver.dpi = lib.mkForce 108;
|
services.xserver.dpi = lib.mkForce 108;
|
||||||
services.desktopManager.gnome.enable = true;
|
|
||||||
services.gnome = {
|
|
||||||
core-apps.enable = false;
|
|
||||||
core-developer-tools.enable = false;
|
|
||||||
games.enable = false;
|
|
||||||
};
|
|
||||||
environment.gnome.excludePackages = with pkgs; [
|
|
||||||
gnome-tour
|
|
||||||
gnome-user-docs
|
|
||||||
];
|
|
||||||
|
|
||||||
services.flatpak.enable = true;
|
services.flatpak.enable = true;
|
||||||
xdg.portal.extraPortals = with pkgs; [
|
xdg.portal.extraPortals = with pkgs; [
|
||||||
xdg-desktop-portal-gtk
|
xdg-desktop-portal-gtk
|
||||||
xdg-desktop-portal-gnome
|
|
||||||
xdg-desktop-portal-xapp
|
xdg-desktop-portal-xapp
|
||||||
kdePackages.xdg-desktop-portal-kde
|
kdePackages.xdg-desktop-portal-kde
|
||||||
];
|
];
|
||||||
@@ -84,14 +73,17 @@
|
|||||||
tmux
|
tmux
|
||||||
saleae-logic-2
|
saleae-logic-2
|
||||||
my-ricing-assets
|
my-ricing-assets
|
||||||
|
amdgpu_top
|
||||||
|
scilab-bin
|
||||||
|
qucs-s
|
||||||
|
sage
|
||||||
|
python3
|
||||||
|
opencode
|
||||||
|
arduino-ide
|
||||||
xdg-desktop-portal-gtk
|
xdg-desktop-portal-gtk
|
||||||
xdg-desktop-portal-gnome
|
xdg-desktop-portal-gnome
|
||||||
xdg-desktop-portal-xapp
|
xdg-desktop-portal-xapp
|
||||||
kdePackages.xdg-desktop-portal-kde
|
kdePackages.xdg-desktop-portal-kde
|
||||||
]) ++ (with pkgs.gnomeExtensions; [
|
|
||||||
kiwi-menu
|
|
||||||
blur-my-shell
|
|
||||||
dash-to-dock
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
|
|||||||
+11
-1
@@ -13,7 +13,15 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
console.useXkbConfig = true;
|
console.useXkbConfig = true;
|
||||||
services.xserver.xkb.options = "ctrl:swapcaps";
|
services.xserver.xkb = {
|
||||||
|
layout = "my-sym";
|
||||||
|
variant = "my-sym";
|
||||||
|
extraLayouts."my-sym" = {
|
||||||
|
description = "English (US) with modifed right side keys";
|
||||||
|
languages = [ "eng" ];
|
||||||
|
symbolsFile = "${pkgs.my-ricing-assets}/usr/local/share/xkb/symbols/my-sym";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -136,5 +144,7 @@
|
|||||||
yubikey-manager
|
yubikey-manager
|
||||||
alsa-utils
|
alsa-utils
|
||||||
pulseaudio
|
pulseaudio
|
||||||
|
zip
|
||||||
|
unzip
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,9 +14,6 @@
|
|||||||
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xkb = {
|
|
||||||
layout = "us";
|
|
||||||
};
|
|
||||||
dpi = lib.mkDefault 96;
|
dpi = lib.mkDefault 96;
|
||||||
displayManager.lightdm = {
|
displayManager.lightdm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -64,12 +61,14 @@
|
|||||||
|
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
config.common.default = "*";
|
||||||
};
|
};
|
||||||
|
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
|
|
||||||
environment.systemPackages = (with pkgs; [
|
environment.systemPackages = (with pkgs; [
|
||||||
alacritty
|
alacritty
|
||||||
|
arandr
|
||||||
xfe
|
xfe
|
||||||
feh
|
feh
|
||||||
keepassxc
|
keepassxc
|
||||||
@@ -81,6 +80,7 @@
|
|||||||
kdePackages.gwenview
|
kdePackages.gwenview
|
||||||
kdePackages.okular
|
kdePackages.okular
|
||||||
fontconfig
|
fontconfig
|
||||||
|
brightnessctl
|
||||||
]) ++ (with pkgs.skkDictionaries; [
|
]) ++ (with pkgs.skkDictionaries; [
|
||||||
l
|
l
|
||||||
emoji
|
emoji
|
||||||
|
|||||||
Reference in New Issue
Block a user