diff options
Diffstat (limited to '')
-rw-r--r-- | home-manager/config/default.nix | 1 | ||||
-rw-r--r-- | home-manager/default.nix | 1 | ||||
-rw-r--r-- | home-manager/wms/default.nix | 7 | ||||
-rw-r--r-- | home-manager/wms/river/default.nix (renamed from home-manager/config/river/default.nix) | 0 | ||||
-rwxr-xr-x | home-manager/wms/river/init (renamed from home-manager/config/river/init) | 0 | ||||
-rw-r--r-- | home-manager/wms/river/res/keys.ron (renamed from home-manager/config/river/res/keys.ron) | 0 | ||||
-rwxr-xr-x | home-manager/wms/river/res/safe_init (renamed from home-manager/config/river/res/safe_init) | 0 | ||||
-rw-r--r-- | home-manager/wms/sway/default.nix | 16 | ||||
-rw-r--r-- | system/default.nix | 1 | ||||
-rw-r--r-- | system/polkit/default.nix | 3 |
10 files changed, 28 insertions, 1 deletions
diff --git a/home-manager/config/default.nix b/home-manager/config/default.nix index e2fdfa31..9c2db635 100644 --- a/home-manager/config/default.nix +++ b/home-manager/config/default.nix @@ -21,7 +21,6 @@ ./npm ./python ./rclone - ./river ./ssh ./swayidle ./swaylock diff --git a/home-manager/default.nix b/home-manager/default.nix index 64df8843..11f3bf9d 100644 --- a/home-manager/default.nix +++ b/home-manager/default.nix @@ -25,6 +25,7 @@ in { ./impermanence ./packages ./config + ./wms ]; # I don't know what this does, but I've seen it a loot online, so it should be good, right? diff --git a/home-manager/wms/default.nix b/home-manager/wms/default.nix new file mode 100644 index 00000000..f3623ad8 --- /dev/null +++ b/home-manager/wms/default.nix @@ -0,0 +1,7 @@ +# vim: ts=2 +{config, ...}: { + imports = [ + ./sway + ./river + ]; +} diff --git a/home-manager/config/river/default.nix b/home-manager/wms/river/default.nix index 2d85e802..2d85e802 100644 --- a/home-manager/config/river/default.nix +++ b/home-manager/wms/river/default.nix diff --git a/home-manager/config/river/init b/home-manager/wms/river/init index c90c143e..c90c143e 100755 --- a/home-manager/config/river/init +++ b/home-manager/wms/river/init diff --git a/home-manager/config/river/res/keys.ron b/home-manager/wms/river/res/keys.ron index a4ad6988..a4ad6988 100644 --- a/home-manager/config/river/res/keys.ron +++ b/home-manager/wms/river/res/keys.ron diff --git a/home-manager/config/river/res/safe_init b/home-manager/wms/river/res/safe_init index 8e80026a..8e80026a 100755 --- a/home-manager/config/river/res/safe_init +++ b/home-manager/wms/river/res/safe_init diff --git a/home-manager/wms/sway/default.nix b/home-manager/wms/sway/default.nix new file mode 100644 index 00000000..bb3ddb49 --- /dev/null +++ b/home-manager/wms/sway/default.nix @@ -0,0 +1,16 @@ +# also requires: +# security.polkit.enable = true; +{lib, ...}: { + wayland.windowManager.sway = { + enable = true; + config = { + modifier = "Mod4"; + # Use kitty as default terminal + terminal = "kitty"; + startup = [ + # Launch Firefox on start + {command = "firefox";} + ]; + }; + }; +} diff --git a/system/default.nix b/system/default.nix index 5e88b586..c7a2400f 100644 --- a/system/default.nix +++ b/system/default.nix @@ -8,6 +8,7 @@ #./packages ./sound ./users # the position of this item is fully arbitrary + ./polkit ]; # TODO does this really remove all the bloatware, nixos installs by default? environment = { diff --git a/system/polkit/default.nix b/system/polkit/default.nix new file mode 100644 index 00000000..9de68f35 --- /dev/null +++ b/system/polkit/default.nix @@ -0,0 +1,3 @@ +{...}: { + security.polkit.enable = true; +} |