move desktops to their own folder

This commit is contained in:
tristan 2024-02-09 22:29:27 +00:00
parent 1444fd91c8
commit 06e889c274
7 changed files with 10 additions and 11 deletions

View file

@ -36,7 +36,7 @@
./nixos/programs/anki.nix ./nixos/programs/anki.nix
] [ ] [
./home/programs/gamer.nix ./home/programs/gamer.nix
./home/programs/hyprland.nix ./home/desktop/hyprland/.
./home/programs/personal/. ./home/programs/personal/.
]; ];
@ -47,7 +47,7 @@
./nixos/modules/work.nix ./nixos/modules/work.nix
] [ ] [
./home/programs/work.nix ./home/programs/work.nix
./home/programs/hyprland.nix ./home/desktop/hyprland/.
]; ];
vm-sway = vm-sway =
@ -62,7 +62,7 @@
./hardware/vm.nix ./hardware/vm.nix
(auto-login "sway") (auto-login "sway")
] [ ] [
./home/programs/sway.nix ./home/desktop/sway/.
]; ];
vm-hyprland = vm-hyprland =
@ -79,7 +79,7 @@
./hardware/vm.nix ./hardware/vm.nix
(./nixos/programs/auto-login.nix "Hyprland") (./nixos/programs/auto-login.nix "Hyprland")
] [ ] [
./home/programs/hyprland.nix ./home/desktop/hyprland/.
]; ];
vm-tty = mkConf [ vm-tty = mkConf [

View file

@ -7,9 +7,9 @@
modifier = config.windowManager.modifierKey; modifier = config.windowManager.modifierKey;
in { in {
imports = [ imports = [
(import ./swaylock.nix) (import ../utils/swaylock.nix)
(import ./swayidle.nix) (import ../utils/swayidle.nix)
(import ./waybar.nix) (import ../utils/waybar.nix)
]; ];
xdg.portal = { xdg.portal = {
enable = true; enable = true;

View file

@ -3,7 +3,6 @@
config, config,
... ...
}: let }: let
term = "${config.programs.terminal}/bin/${config.programs.terminal.pname}";
modKeyName = config.windowManager.modifierKey; modKeyName = config.windowManager.modifierKey;
modifier = modifier =
if modKeyName == "SUPER" if modKeyName == "SUPER"
@ -13,9 +12,9 @@
else null; else null;
in { in {
imports = [ imports = [
(import ./swaylock.nix) (import ../utils/swaylock.nix)
(import ./swayidle.nix) (import ../utils/swayidle.nix)
(import ./waybar.nix) (import ../utils/waybar.nix)
]; ];
xdg.portal = { xdg.portal = {
enable = true; enable = true;