Remove XDG_RUNTIME_DIR from home manager config
This commit is contained in:
parent
90e14b4380
commit
0608e6135b
|
@ -33,11 +33,9 @@
|
|||
|
||||
outputs = { self, nixpkgs, home-manager, nix-darwin, kak, unispect, ansi-utils, unambig-path }:
|
||||
let
|
||||
xdg-runtime-dir = "/tmp/xdg-rt";
|
||||
|
||||
mkPkgs = system: import nixpkgs { system = system; config.allowUnfree = true; };
|
||||
mkHome = {username, home-dir, prompt-color, system, pkgs} : import ./home/common.nix {
|
||||
inherit username home-dir prompt-color pkgs xdg-runtime-dir;
|
||||
inherit username home-dir prompt-color pkgs;
|
||||
|
||||
kak-pkg = kak.packages.${system}.kak;
|
||||
unispect = unispect.packages.${system}.unispect;
|
||||
|
@ -45,10 +43,10 @@
|
|||
unambig-path = unambig-path.packages.${system}.unambig-path;
|
||||
};
|
||||
mkPC = {system, pkgs} : import ./home/graphical.nix {
|
||||
inherit pkgs xdg-runtime-dir;
|
||||
inherit pkgs;
|
||||
};
|
||||
mkLaptop = {system, pkgs} : import ./home/apps.nix {
|
||||
inherit pkgs xdg-runtime-dir;
|
||||
inherit pkgs;
|
||||
};
|
||||
|
||||
mkDarwin = {system, pkgs}: import ./darwin.nix {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, xdg-runtime-dir }:
|
||||
{ pkgs }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
discord-canary
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, username, home-dir, prompt-color, xdg-runtime-dir, kak-pkg, unispect, ansi-utils, unambig-path }:
|
||||
{ pkgs, username, home-dir, prompt-color, kak-pkg, unispect, ansi-utils, unambig-path }:
|
||||
|
||||
let
|
||||
kak = import ./kak.nix { kak = kak-pkg; inherit pkgs; };
|
||||
|
@ -49,10 +49,6 @@ in rec {
|
|||
# (extras.challtools python311Packages)
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
XDG_RUNTIME_DIR = xdg-runtime-dir;
|
||||
};
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, xdg-runtime-dir }:
|
||||
{ pkgs }:
|
||||
|
||||
let
|
||||
alacritty = import ./alacritty/alacritty.nix pkgs;
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
xkb_types "noaltgr" {
|
||||
virtual_modifiers Shift, Alt;
|
||||
|
||||
type "CTRL+ALT" {
|
||||
modifiers = Shift + Alt;
|
||||
map[None] = Level1;
|
||||
map[Shift] = Level2;
|
||||
map[Alt] = Level3;
|
||||
map[Shift+Alt] = Level4;
|
||||
level_name[Level1] = "Base";
|
||||
level_name[Level2] = "Shift";
|
||||
level_name[Level3] = "Alt";
|
||||
level_name[Level4] = "Shift Alt";
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user