diff options
Diffstat (limited to 'nixpkgs')
-rw-r--r-- | nixpkgs/kusanagi.nix | 5 | ||||
-rw-r--r-- | nixpkgs/wayfire.nix | 19 | ||||
-rw-r--r-- | nixpkgs/wmonly.nix | 14 |
3 files changed, 18 insertions, 20 deletions
diff --git a/nixpkgs/kusanagi.nix b/nixpkgs/kusanagi.nix index 19b367d..03a3bf7 100644 --- a/nixpkgs/kusanagi.nix +++ b/nixpkgs/kusanagi.nix @@ -6,7 +6,7 @@ let sha256 = "sha256:1dizlmwzl6319s9cfbd770ydlj0kf0k3yz5rzw4xni8lnh691hx7"; }; in { - imports = [ ./common.nix ./wayfire.nix ]; + imports = [ ./common.nix ./wmonly.nix ]; programs.bash.profileExtra = '' function mklink { @@ -37,6 +37,9 @@ in { mklink /Z/lx/app/element ~/.config/Element mklink /Z/lx/app/dino ~/.local/share/dino mklink /Z/lx/app/signal ~/.config/Signal + + mkdir -p ~/.xkb + mklink /etc/X11/xkb/symbols ~/.xkb/symbols ''; programs.bash.shellAliases.z = "cd /Z/lx"; diff --git a/nixpkgs/wayfire.nix b/nixpkgs/wayfire.nix deleted file mode 100644 index b0e26b7..0000000 --- a/nixpkgs/wayfire.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ pkgs, ... }: { - imports = [ ./wmonly.nix ]; - - home.file = { - ".config/wayfire.ini".source = ../wayfire/wayfire.ini; - - ".config/waybar/config".source = ../waybar/config; - ".config/waybar/style.css".source = ../waybar/style.css; - - ".config/sway/config".source = ../sway/config; - }; - - xdg.mimeApps.defaultApplications = { - "application/pdf" = [ "org.gnome.Evince.desktop" ]; - "image/jpeg" = [ "org.gnome.eog.desktop" ]; - "image/png" = [ "org.gnome.eog.desktop" ]; - "text/plain" = [ "org.gnome.gedit.desktop" ]; - }; -} diff --git a/nixpkgs/wmonly.nix b/nixpkgs/wmonly.nix index fbc5324..ef08289 100644 --- a/nixpkgs/wmonly.nix +++ b/nixpkgs/wmonly.nix @@ -19,4 +19,18 @@ GTK_IM_MODULE = "fcitx"; QT_IM_MODULE = "fcitx"; }; + + home.file = { + ".config/waybar/config".source = ../waybar/config; + ".config/waybar/style.css".source = ../waybar/style.css; + ".config/sway/config".source = ../sway/config; + ".config/wayfire.ini".source = ../wayfire/wayfire.ini; + }; + + xdg.mimeApps.defaultApplications = { + "application/pdf" = [ "org.gnome.Evince.desktop" ]; + "image/jpeg" = [ "org.gnome.eog.desktop" ]; + "image/png" = [ "org.gnome.eog.desktop" ]; + "text/plain" = [ "org.gnome.gedit.desktop" ]; + }; } |