Fix 1Password, add ime
This commit is contained in:
parent
a73cf6c684
commit
2a866a7b7a
24
flake.lock
24
flake.lock
|
@ -8,11 +8,11 @@
|
|||
"utils": "utils"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1677757546,
|
||||
"narHash": "sha256-tA1ukoluctzLVyWRaKtD4KlTwgXbUsGB5vcyni1OJ9I=",
|
||||
"lastModified": 1681092193,
|
||||
"narHash": "sha256-JerCqqOqbT2tBnXQW4EqwFl0hHnuZp21rIQ6lu/N4rI=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "86bb69b0b1e10d99a30c4352f230f03106dd0f8a",
|
||||
"rev": "f9edbedaf015013eb35f8caacbe0c9666bbc16af",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -24,11 +24,11 @@
|
|||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1678095239,
|
||||
"narHash": "sha256-4F6jovFJcwh6OkMsY94ZrHdrvVqZi1FX5pYv6V9LIQw=",
|
||||
"lastModified": 1680876084,
|
||||
"narHash": "sha256-eP9yxP0wc7XuVaODugh+ajgbFGaile2O1ihxiLxOuvU=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "f6610997b0fc5ea5f9e142c348fca27497efe1c7",
|
||||
"rev": "3006d2860a6ed5e01b0c3e7ffb730e9b293116e2",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -39,11 +39,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1678137616,
|
||||
"narHash": "sha256-T+lWTRdcYaOnZQW+Ehdlg+YldC2l9cq2GXJFPq22Nxc=",
|
||||
"lastModified": 1681041438,
|
||||
"narHash": "sha256-NmRGMklxBZ8Ol47CKMQxAU1F+v8ySpsHAAiC7ZL4vxY=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "7edcdf7b169c33cd3eef9aba50521ce93ee666b8",
|
||||
"rev": "48dcbaf7fa799509cbec85d55b8d62dcf1477d57",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -55,11 +55,11 @@
|
|||
},
|
||||
"nixpkgs-unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1678111249,
|
||||
"narHash": "sha256-ZTIbK7vthZwti5XeLZE+twkb4l44q01q2XoLMmmJe94=",
|
||||
"lastModified": 1681036984,
|
||||
"narHash": "sha256-AbScJXshYzbeUKHh+Y3OICc3iAtr+NqJ3Xb81GW+ptU=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "a028e2873d7fcf44e66b784b4ba061824315537f",
|
||||
"rev": "fd531dee22c9a3d4336cc2da39e8dd905e8f3de4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -32,14 +32,15 @@ let
|
|||
extraWorkspaces;
|
||||
in
|
||||
{
|
||||
home.sessionVariables = {
|
||||
MOZ_USE_XINPUT2 = 1;
|
||||
_JAVA_AWT_WM_NONREPARENTING = 1;
|
||||
GTK_THEME = "Adwaita-dark";
|
||||
NIXOS_OZONE_WL = 1;
|
||||
};
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
wrapperFeatures.gtk = true;
|
||||
extraSessionCommands = ''
|
||||
export MOZ_USE_XINPUT2=1
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
export GTK_THEME=Adwaita-dark
|
||||
'';
|
||||
config = {
|
||||
modifier = "Mod4";
|
||||
terminal = "kitty";
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs-unstable, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
_1password
|
||||
_1password-gui
|
||||
];
|
||||
programs._1password-gui = {
|
||||
enable = true;
|
||||
package = pkgs-unstable._1password-gui;
|
||||
polkitPolicyOwners = [ "artemis" ];
|
||||
};
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
programs.seahorse.enable = true;
|
||||
}
|
||||
|
|
16
sets/ime.nix
Normal file
16
sets/ime.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
i18n.inputMethod = {
|
||||
enabled = "fcitx5";
|
||||
fcitx5.addons = with pkgs; [ fcitx5-mozc fcitx5-gtk ];
|
||||
};
|
||||
environment.systemPackages = with pkgs; [ fcitx5-configtool ];
|
||||
|
||||
# Required for support in kitty, ibus/fcitx5 are somewhat compatible so this works
|
||||
environment.variables.GLFW_IM_MODULE = "ibus";
|
||||
|
||||
home-manager.users.artemis.wayland.windowManager.sway.config.startup = [
|
||||
{ command = "fcitx5 -d --replace"; always = true; }
|
||||
];
|
||||
}
|
|
@ -10,6 +10,7 @@
|
|||
];
|
||||
|
||||
i18n.defaultLocale = "de_DE.UTF-8";
|
||||
i18n.supportedLocales = [ "all" ];
|
||||
|
||||
environment = {
|
||||
variables.EDITOR = "nvim";
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
../../sets/sshd.nix
|
||||
../../sets/virtualization.nix
|
||||
../../sets/workstation.nix
|
||||
../../sets/ime.nix
|
||||
../../sets/1password.nix
|
||||
inputs.nixos-hardware.nixosModules.common-cpu-amd
|
||||
inputs.nixos-hardware.nixosModules.common-gpu-amd
|
||||
|
|
Loading…
Reference in a new issue