mirror of
https://github.com/RGBCube/ncc
synced 2025-07-27 01:57:44 +00:00
helix: use nixd
This commit is contained in:
parent
4bd1ec53af
commit
cb216d39f1
10 changed files with 27 additions and 23 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -2,8 +2,6 @@
|
|||
|
||||
!.gitignore
|
||||
|
||||
!docs/
|
||||
|
||||
!hosts/
|
||||
!hosts/**/
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
lib: lib.nixosSystem' ({ config, keys, lib, ... }: let
|
||||
inherit (lib) collectNix remove;
|
||||
in {
|
||||
imports = collectNix ./. |> remove ./default.nix;
|
||||
imports = collectNix ./.
|
||||
|> remove ./default.nix;
|
||||
|
||||
secrets.id.file = ./id.age;
|
||||
services.openssh.hostKeys = [{
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
lib: lib.nixosSystem' ({ config, keys, lib, ... }: let
|
||||
inherit (lib) collectNix remove;
|
||||
in {
|
||||
imports = collectNix ./. |> remove ./default.nix;
|
||||
imports = collectNix ./.
|
||||
|> remove ./default.nix;
|
||||
|
||||
secrets.id.file = ./id.age;
|
||||
services.openssh.hostKeys = [{
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
lib: lib.nixosSystem' ({ config, keys, lib, ... }: let
|
||||
inherit (lib) collectNix remove;
|
||||
in {
|
||||
imports = collectNix ./. |> remove ./default.nix;
|
||||
imports = collectNix ./.
|
||||
|> remove ./default.nix;
|
||||
|
||||
secrets.id.file = ./id.age;
|
||||
services.openssh.hostKeys = [{
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
lib: lib.darwinSystem' ({ lib, ... }: let
|
||||
lib: lib.darwinSystem' ({ config, lib, ... }: let
|
||||
inherit (lib) collectNix remove;
|
||||
in {
|
||||
imports = collectNix ./. |> remove ./default.nix;
|
||||
imports = collectNix ./.
|
||||
|> remove ./default.nix;
|
||||
|
||||
type = "desktop";
|
||||
|
||||
|
@ -14,8 +15,8 @@ in {
|
|||
|
||||
home-manager.users.pala.home = {
|
||||
stateVersion = "25.05";
|
||||
homeDirectory = "/Users/pala";
|
||||
homeDirectory = config.users.users.pala.home;
|
||||
};
|
||||
|
||||
system.stateVersion = 5;
|
||||
system.stateVersion = 5;
|
||||
})
|
||||
|
|
|
@ -154,7 +154,7 @@ in {
|
|||
|
||||
# NIX
|
||||
nixfmt-rfc-style
|
||||
nil
|
||||
nixd
|
||||
|
||||
# PYTHON
|
||||
basedpyright
|
||||
|
|
|
@ -35,18 +35,6 @@ in merge <| mkIf config.isDesktop {
|
|||
};
|
||||
|
||||
home-manager.sharedModules = [{
|
||||
xdg.configFile."xkb/symbols/tr-swapped-i".text = ''
|
||||
default partial
|
||||
xkb_symbols "basic" {
|
||||
include "tr(basic)"
|
||||
|
||||
name[Group1]="Turkish (i and ı swapped)";
|
||||
|
||||
key <AC11> { type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ idotless, Iabovedot, paragraph , none ]};
|
||||
key <AD08> { type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ i , I , apostrophe, dead_caron ]};
|
||||
};
|
||||
'';
|
||||
|
||||
wayland.windowManager.hyprland = enabled {
|
||||
systemd = enabled {
|
||||
enableXdgAutostart = true;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ config, lib, pkgs, ... }: let
|
||||
inherit (lib) const genAttrs merge mkIf;
|
||||
in merge {
|
||||
console.keyMap = pkgs.writeText "trq-swapped-i.map" ''
|
||||
console.keyMap = pkgs.writeText "trq-swapped-i.map" /* hs */ ''
|
||||
include "${pkgs.kbd}/share/keymaps/i386/qwerty/trq.map"
|
||||
|
||||
keycode 23 = i
|
||||
|
@ -11,6 +11,20 @@ in merge {
|
|||
keycode 40 = +dotlessi +Idotabove
|
||||
'';
|
||||
|
||||
home-manager.sharedModules = [{
|
||||
xdg.configFile."xkb/symbols/tr-swapped-i".text = /* rs */ ''
|
||||
default partial
|
||||
xkb_symbols "basic" {
|
||||
include "tr(basic)"
|
||||
|
||||
name[Group1]="Turkish (i and ı swapped)";
|
||||
|
||||
key <AC11> { type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ idotless, Iabovedot, paragraph , none ]};
|
||||
key <AD08> { type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ i , I , apostrophe, dead_caron ]};
|
||||
};
|
||||
'';
|
||||
}];
|
||||
|
||||
i18n.defaultLocale = "C.UTF-8";
|
||||
} <| mkIf config.isDesktop {
|
||||
i18n.extraLocaleSettings = genAttrs [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue