commit 0b6bfa5e3e982ede6b39cdc3d7745d5a71b7c0cb
parent 016c36f4589a6a41a1d77d7bff019d4509c14626
Author: Anders Hedman <anders.hedman01@gmail.com>
Date: Wed, 23 Oct 2024 21:01:20 +0200
hm: Add config for xps15
Diffstat:
3 files changed, 52 insertions(+), 2 deletions(-)
diff --git a/.config/home-manager/flake.nix b/.config/home-manager/flake.nix
@@ -39,5 +39,21 @@
inherit dotdir;
};
};
+
+ homeConfigurations."anders@xps15.andersuno.nu" = home-manager.lib.homeManagerConfiguration {
+ inherit pkgs;
+
+ modules = [
+ ./home.nix
+ ./xps15.nix
+ ];
+
+ extraSpecialArgs = {
+ inherit user;
+ inherit homedir;
+ inherit dotdir;
+ };
+ };
+
};
}
diff --git a/.config/home-manager/t480s.nix b/.config/home-manager/t480s.nix
@@ -19,8 +19,8 @@
dconf.settings = {
"org/gnome/desktop/background" = {
- picture-uri = "file:///${homedir}/Repos/dotfiles/Wallpapers/nix1.png";
- picture-uri-dark = "file:///${homedir}/Repos/dotfiles/Wallpapers/nix1.png";
+ picture-uri = "file://${homedir}/Repos/dotfiles/Wallpapers/nix1.png";
+ picture-uri-dark = "file://${homedir}/Repos/dotfiles/Wallpapers/nix1.png";
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = {
binding = "<Super>Return";
diff --git a/.config/home-manager/xps15.nix b/.config/home-manager/xps15.nix
@@ -0,0 +1,34 @@
+{
+ config,
+ pkgs,
+ homedir,
+ ...
+}:
+
+{
+
+ home.packages = with pkgs; [
+ ];
+
+ home.file = { };
+
+ home.sessionVariables = { };
+
+ dconf.settings = {
+ "org/gnome/desktop/background" = {
+ picture-uri = "file://${homedir}/Repos/dotfiles/Wallpapers/fedora1.png";
+ picture-uri-dark = "file://${homedir}/Repos/dotfiles/Wallpapers/fedora1.png";
+ };
+ "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = {
+ binding = "<Super>Return";
+ command = "gnome-terminal";
+ name = "Launch Terminal";
+ };
+ "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1" = {
+ binding = "<Super>x";
+ command = "${homedir}/Repos/.local/bin/org-capture-clip.sh";
+ name = "Org Capture";
+ };
+ };
+
+}