1

Compare commits

...

3 Commits

8 changed files with 186 additions and 136 deletions

206
flake.lock generated
View File

@ -15,47 +15,6 @@
"type": "github" "type": "github"
} }
}, },
"dank-material-shell": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"quickshell": "quickshell"
},
"locked": {
"lastModified": 1773342367,
"narHash": "sha256-6KxAxgU2lVgCDxY25aDq6H/aVJXwXIXdooEEKU8btyE=",
"owner": "AvengeMedia",
"repo": "DankMaterialShell",
"rev": "727d9c6c22d4ce024aa149ff17b666612988a3bf",
"type": "github"
},
"original": {
"owner": "AvengeMedia",
"repo": "DankMaterialShell",
"type": "github"
}
},
"danksearch": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1771867960,
"narHash": "sha256-7VK/R3ZkrSlk8WQlQxjP2BJl5PGNkgbPnd9jh/7xbTw=",
"owner": "AvengeMedia",
"repo": "danksearch",
"rev": "55c58870c666a45eeb2fe34180eb886c34e68d0c",
"type": "github"
},
"original": {
"owner": "AvengeMedia",
"repo": "danksearch",
"type": "github"
}
},
"devshell": { "devshell": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
@ -95,6 +54,25 @@
"type": "github" "type": "github"
} }
}, },
"elephant": {
"inputs": {
"nixpkgs": "nixpkgs_2",
"systems": "systems"
},
"locked": {
"lastModified": 1773079031,
"narHash": "sha256-RvCzINnVISBT3d0F1DoIcQFbQsbRJISW9qZeKTzmNaA=",
"owner": "abenz1267",
"repo": "elephant",
"rev": "53afe39cef252010f7c55bd33c5bae6dd50dcf0c",
"type": "github"
},
"original": {
"owner": "abenz1267",
"repo": "elephant",
"type": "github"
}
},
"fenix": { "fenix": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -251,7 +229,7 @@
}, },
"flake-utils": { "flake-utils": {
"inputs": { "inputs": {
"systems": "systems" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731533236,
@ -269,7 +247,7 @@
}, },
"flake-utils_2": { "flake-utils_2": {
"inputs": { "inputs": {
"systems": "systems_3" "systems": "systems_4"
}, },
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731533236,
@ -365,7 +343,7 @@
}, },
"hytale-launcher": { "hytale-launcher": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1773947929, "lastModified": 1773947929,
@ -384,7 +362,7 @@
"impermanence": { "impermanence": {
"inputs": { "inputs": {
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_4"
}, },
"locked": { "locked": {
"lastModified": 1769548169, "lastModified": 1769548169,
@ -450,7 +428,7 @@
"naersk": { "naersk": {
"inputs": { "inputs": {
"fenix": "fenix", "fenix": "fenix",
"nixpkgs": "nixpkgs_6" "nixpkgs": "nixpkgs_7"
}, },
"locked": { "locked": {
"lastModified": 1763384566, "lastModified": 1763384566,
@ -528,7 +506,7 @@
"inputs": { "inputs": {
"flake-compat": "flake-compat_2", "flake-compat": "flake-compat_2",
"nix-index-database": "nix-index-database", "nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs_4" "nixpkgs": "nixpkgs_5"
}, },
"locked": { "locked": {
"lastModified": 1771150922, "lastModified": 1771150922,
@ -630,6 +608,22 @@
} }
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": {
"lastModified": 1764242076,
"narHash": "sha256-sKoIWfnijJ0+9e4wRvIgm/HgE27bzwQxcEmo2J/gNpI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "2fad6eac6077f03fe109c4d4eb171cf96791faa4",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1773821835, "lastModified": 1773821835,
"narHash": "sha256-TJ3lSQtW0E2JrznGVm8hOQGVpXjJyXY2guAxku2O9A4=", "narHash": "sha256-TJ3lSQtW0E2JrznGVm8hOQGVpXjJyXY2guAxku2O9A4=",
@ -645,7 +639,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_3": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1768564909, "lastModified": 1768564909,
"narHash": "sha256-Kell/SpJYVkHWMvnhqJz/8DqQg2b6PguxVWOuadbHCc=", "narHash": "sha256-Kell/SpJYVkHWMvnhqJz/8DqQg2b6PguxVWOuadbHCc=",
@ -661,7 +655,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_4": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1771008912, "lastModified": 1771008912,
"narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=", "narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=",
@ -677,7 +671,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_5": { "nixpkgs_6": {
"locked": { "locked": {
"lastModified": 1773122722, "lastModified": 1773122722,
"narHash": "sha256-FIqHByVqxCprNjor1NqF80F2QQoiiyqanNNefdlvOg4=", "narHash": "sha256-FIqHByVqxCprNjor1NqF80F2QQoiiyqanNNefdlvOg4=",
@ -693,7 +687,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_6": { "nixpkgs_7": {
"locked": { "locked": {
"lastModified": 1752077645, "lastModified": 1752077645,
"narHash": "sha256-HM791ZQtXV93xtCY+ZxG1REzhQenSQO020cu6rHtAPk=", "narHash": "sha256-HM791ZQtXV93xtCY+ZxG1REzhQenSQO020cu6rHtAPk=",
@ -709,13 +703,29 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_8": {
"locked": {
"lastModified": 1768564909,
"narHash": "sha256-Kell/SpJYVkHWMvnhqJz/8DqQg2b6PguxVWOuadbHCc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e4bae1bd10c9c57b2cf517953ab70060a828ee6f",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixvim": { "nixvim": {
"inputs": { "inputs": {
"flake-parts": "flake-parts_2", "flake-parts": "flake-parts_2",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
"systems": "systems_2" "systems": "systems_3"
}, },
"locked": { "locked": {
"lastModified": 1772402258, "lastModified": 1772402258,
@ -801,34 +811,11 @@
"type": "github" "type": "github"
} }
}, },
"quickshell": {
"inputs": {
"nixpkgs": [
"dank-material-shell",
"nixpkgs"
]
},
"locked": {
"lastModified": 1766725085,
"narHash": "sha256-O2aMFdDUYJazFrlwL7aSIHbUSEm3ADVZjmf41uBJfHs=",
"ref": "refs/heads/master",
"rev": "41828c4180fb921df7992a5405f5ff05d2ac2fff",
"revCount": 715,
"type": "git",
"url": "https://git.outfoxxed.me/quickshell/quickshell"
},
"original": {
"rev": "41828c4180fb921df7992a5405f5ff05d2ac2fff",
"type": "git",
"url": "https://git.outfoxxed.me/quickshell/quickshell"
}
},
"root": { "root": {
"inputs": { "inputs": {
"dank-material-shell": "dank-material-shell",
"danksearch": "danksearch",
"devshell": "devshell", "devshell": "devshell",
"disko": "disko", "disko": "disko",
"elephant": "elephant",
"hardware": "hardware", "hardware": "hardware",
"home-manager": "home-manager", "home-manager": "home-manager",
"hytale-launcher": "hytale-launcher", "hytale-launcher": "hytale-launcher",
@ -838,13 +825,14 @@
"niri": "niri", "niri": "niri",
"nix-alien": "nix-alien", "nix-alien": "nix-alien",
"nix-flatpak": "nix-flatpak", "nix-flatpak": "nix-flatpak",
"nixpkgs": "nixpkgs_5", "nixpkgs": "nixpkgs_6",
"nixpkgs-stable": "nixpkgs-stable_2", "nixpkgs-stable": "nixpkgs-stable_2",
"nixvim": "nixvim", "nixvim": "nixvim",
"nps": "nps", "nps": "nps",
"nur": "nur", "nur": "nur",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
"textfox": "textfox" "textfox": "textfox",
"walker": "walker"
} }
}, },
"rust-analyzer-src": { "rust-analyzer-src": {
@ -907,16 +895,16 @@
}, },
"systems": { "systems": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1689347949,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems", "owner": "nix-systems",
"repo": "default", "repo": "default-linux",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-systems", "owner": "nix-systems",
"repo": "default", "repo": "default-linux",
"type": "github" "type": "github"
} }
}, },
@ -950,6 +938,36 @@
"type": "github" "type": "github"
} }
}, },
"systems_4": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_5": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"textfox": { "textfox": {
"inputs": { "inputs": {
"firefox-addons": "firefox-addons", "firefox-addons": "firefox-addons",
@ -971,6 +989,28 @@
"type": "github" "type": "github"
} }
}, },
"walker": {
"inputs": {
"elephant": [
"elephant"
],
"nixpkgs": "nixpkgs_8",
"systems": "systems_5"
},
"locked": {
"lastModified": 1773675699,
"narHash": "sha256-GrormZ2KxchtCLuO90+5fioEQmlUCKBIil0Mzr9w0Iw=",
"owner": "abenz1267",
"repo": "walker",
"rev": "d2702235710da3d7daf55c912ca7534261cf20f5",
"type": "github"
},
"original": {
"owner": "abenz1267",
"repo": "walker",
"type": "github"
}
},
"xwayland-satellite-stable": { "xwayland-satellite-stable": {
"flake": false, "flake": false,
"locked": { "locked": {

View File

@ -53,6 +53,11 @@
niri.url = "github:sodiboo/niri-flake"; niri.url = "github:sodiboo/niri-flake";
niri.inputs.nixpkgs.follows = "nixpkgs"; niri.inputs.nixpkgs.follows = "nixpkgs";
# Walker
elephant.url = "github:abenz1267/elephant";
walker.url = "github:abenz1267/walker";
walker.inputs.elephant.follows = "elephant";
# Quickshell # Quickshell
# quickshell.url = "github:quickshell-mirror/quickshell"; # quickshell.url = "github:quickshell-mirror/quickshell";
# quickshell.inputs.nixpkgs.follows = "nixpkgs"; # quickshell.inputs.nixpkgs.follows = "nixpkgs";
@ -77,11 +82,11 @@
# dgop.inputs.nixpkgs.follows = "nixpkgs"; # dgop.inputs.nixpkgs.follows = "nixpkgs";
# dms-cli.url = "github:AvengeMedia/danklinux"; # dms-cli.url = "github:AvengeMedia/danklinux";
# dms-cli.inputs.nixpkgs.follows = "nixpkgs"; # dms-cli.inputs.nixpkgs.follows = "nixpkgs";
dank-material-shell.url = "github:AvengeMedia/DankMaterialShell"; # dank-material-shell.url = "github:AvengeMedia/DankMaterialShell";
dank-material-shell.inputs.nixpkgs.follows = "nixpkgs"; # dank-material-shell.inputs.nixpkgs.follows = "nixpkgs";
# dank-material-shell.inputs.dgop.follows = "dgop"; # dank-material-shell.inputs.dgop.follows = "dgop";
danksearch.url = "github:AvengeMedia/danksearch"; # danksearch.url = "github:AvengeMedia/danksearch";
danksearch.inputs.nixpkgs.follows = "nixpkgs"; # danksearch.inputs.nixpkgs.follows = "nixpkgs";
# Hyprland (use flake so plugins are not built from source) # Hyprland (use flake so plugins are not built from source)
# hyprland.url = "github:hyprwm/Hyprland"; # hyprland.url = "github:hyprwm/Hyprland";

View File

@ -836,14 +836,18 @@ in
# Force Wayland by default # Force Wayland by default
# Context.sockets = ["wayland" "!x11" "!fallback-x11"]; # NOTE: Makes discord + steam crash # Context.sockets = ["wayland" "!x11" "!fallback-x11"]; # NOTE: Makes discord + steam crash
Context.filesystems = ["/nix/store:ro"]; Context.filesystems = [
"/nix/store:ro"
"${config.home.homeDirectory}/.themes:ro"
"${config.home.homeDirectory}/.config/gtk-4.0:ro"
];
Environment = { Environment = {
# Fix un-themed cursor in some Wayland apps # Fix un-themed cursor in some Wayland apps
XCURSOR_PATH = "/run/host/user-share/icons:/run/host/share/icons"; XCURSOR_PATH = "/run/host/user-share/icons:/run/host/share/icons";
# Force correct theme for some GTK apps # Force correct theme for some GTK apps
GTK_THEME = "Adwaita:light"; GTK_THEME = config.gtk.theme.name;
}; };
}; };

View File

@ -30,12 +30,13 @@
inputs.nix-flatpak.homeManagerModules.nix-flatpak inputs.nix-flatpak.homeManagerModules.nix-flatpak
inputs.nixvim.homeModules.nixvim inputs.nixvim.homeModules.nixvim
inputs.textfox.homeManagerModules.default inputs.textfox.homeManagerModules.default
inputs.walker.homeManagerModules.default
# inputs.niri.homeModules.niri # Imported by system module # inputs.niri.homeModules.niri # Imported by system module
# inputs.noctalia.homeModules.default # inputs.noctalia.homeModules.default
# inputs.caelestia.homeManagerModules.default # inputs.caelestia.homeManagerModules.default
inputs.dank-material-shell.homeModules.dank-material-shell # inputs.dank-material-shell.homeModules.dank-material-shell
inputs.dank-material-shell.homeModules.niri # inputs.dank-material-shell.homeModules.niri
inputs.danksearch.homeModules.default # inputs.danksearch.homeModules.default
# NOTE: Do NOT use this, use the system module (the HM module has to rely on fuse) # NOTE: Do NOT use this, use the system module (the HM module has to rely on fuse)
# inputs.impermanence.homeManagerModules.impermanence # inputs.impermanence.homeManagerModules.impermanence

View File

@ -194,14 +194,14 @@ in {
nixos-packages = { nixos-packages = {
name = "Nix Packages"; name = "Nix Packages";
urls = [{template = "https://search.nixos.org/packages?channel=unstable?query={searchTerms}";}]; urls = [{template = "https://search.nixos.org/packages?channel=unstable&query={searchTerms}";}];
iconMapObj."16" = "https://nixos.org/favicon.ico"; iconMapObj."16" = "https://nixos.org/favicon.ico";
definedAliases = ["@np"]; definedAliases = ["@np"];
}; };
nixos-options = { nixos-options = {
name = "NixOS Options"; name = "NixOS Options";
urls = [{template = "https://search.nixos.org/options?channel=unstable?query={searchTerms}";}]; urls = [{template = "https://search.nixos.org/options?channel=unstable&query={searchTerms}";}];
iconMapObj."16" = "https://nixos.org/favicon.ico"; iconMapObj."16" = "https://nixos.org/favicon.ico";
definedAliases = ["@no"]; definedAliases = ["@no"];
}; };

View File

@ -29,8 +29,14 @@ in {
gtk4.colorScheme = "dark"; gtk4.colorScheme = "dark";
theme = { theme = {
name = "adw-gtk3-dark"; # name = "adw-gtk3-dark";
package = pkgs.adw-gtk3; # package = pkgs.adw-gtk3;
name = "catppuccin-mocha-mauve-standard";
package = pkgs.catppuccin-gtk.override {
variant = "mocha";
accents = ["mauve"];
size = "standard";
};
}; };
gtk3.extraConfig = { gtk3.extraConfig = {
@ -47,14 +53,13 @@ in {
}; };
}; };
# Disable niri polkit if we use DMS, as it has its own
systemd.user.services.niri-flake-polkit = lib.mkForce {};
home = { home = {
# Mute the stupid DMS popups file = {
# TODO: Is there a DMS option to disable those? # Link theme for flatpak
file.".config/DankMaterialShell/.firstlaunch".text = ""; ".themes/${config.gtk.theme.name}".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}";
file.".config/DankMaterialShell/.changelog-1.4".text = "";
".config/ashell/config.toml".source = config.lib.file.mkOutOfStoreSymlink "${config.paths.dotfiles}/ashell/config.toml";
};
sessionVariables = { sessionVariables = {
QT_QPA_PLATFORMTHEME = "gtk3"; # For Noctalia QT_QPA_PLATFORMTHEME = "gtk3"; # For Noctalia
@ -71,20 +76,30 @@ in {
packages = with pkgs; [ packages = with pkgs; [
xwayland-satellite xwayland-satellite
ncpamixer # Audio control # ncpamixer # Audio control
wiremix # Audio control
ashell # Wayland bar
# GTK apps (look good and work well with xdg portals)
nautilus # Fallback file chooser used by xdg-desktop-portal-gnome nautilus # Fallback file chooser used by xdg-desktop-portal-gnome
# In case we fallback to the default config # Catppuccin-GTK theme
sassc
gtk-engine-murrine
gnome-themes-extra
# In case we fallback to the default niri config/keybindings
alacritty alacritty
fuzzel fuzzel
]; ];
}; };
programs = { programs = {
# TODO: Those should be modules with their own options walker = {
dank-material-shell = import ./dankMaterialShell.nix {inherit config color;}; enable = true;
dsearch.enable = false; runAsService = true;
};
# TODO: Extract options # TODO: Extract options
niri = { niri = {
@ -366,43 +381,28 @@ in {
hotkey-overlay = {title = "Edit the NixFlake.";}; hotkey-overlay = {title = "Edit the NixFlake.";};
}; };
# TODO: Enable with Noctalia option "Mod+A" = {
# Noctalia action = spawn "walker";
hotkey-overlay = {title = "Toggle the application launcher.";};
};
# DankMaterialShell
# "Mod+A" = { # "Mod+A" = {
# action = spawn "noctalia-shell" "ipc" "call" "launcher" "toggle"; # action = spawn "dms" "ipc" "call" "spotlight" "toggle";
# hotkey-overlay = {title = "Toggle the application launcher.";}; # hotkey-overlay = {title = "Toggle the application launcher.";};
# }; # };
# "Mod+Ctrl+L" = { # "Mod+Ctrl+L" = {
# action = spawn "noctalia-shell" "ipc" "call" "lockScreen" "lock"; # action = spawn "dms" "ipc" "call" "lock" "lock";
# hotkey-overlay = {title = "Lock the screen.";}; # hotkey-overlay = {title = "Lock the screen.";};
# }; # };
# "Mod+W" = {
# action = spawn "noctalia-shell" "ipc" "call" "wallpaper" "toggle";
# hotkey-overlay = {title = "Toggle the wallpaper chooser.";};
# };
# "Mod+Escape" = { # "Mod+Escape" = {
# action = spawn "noctalia-shell" "ipc" "call" "sessionMenu" "toggle"; # action = spawn "dms" "ipc" "call" "powermenu" "toggle";
# hotkey-overlay = {title = "Toggle the session menu.";}; # hotkey-overlay = {title = "Toggle the session menu.";};
# }; # };
# "Mod+C" = {
# TODO: Enable with DMS option # action = spawn "dms" "ipc" "call" "clipboard" "toggle";
# DankMaterialShell # hotkey-overlay = {title = "Show clipboard history.";};
"Mod+A" = { # };
action = spawn "dms" "ipc" "call" "spotlight" "toggle";
hotkey-overlay = {title = "Toggle the application launcher.";};
};
"Mod+Ctrl+L" = {
action = spawn "dms" "ipc" "call" "lock" "lock";
hotkey-overlay = {title = "Lock the screen.";};
};
"Mod+Escape" = {
action = spawn "dms" "ipc" "call" "powermenu" "toggle";
hotkey-overlay = {title = "Toggle the session menu.";};
};
"Mod+C" = {
action = spawn "dms" "ipc" "call" "clipboard" "toggle";
hotkey-overlay = {title = "Show clipboard history.";};
};
# Screenshots # Screenshots
"Mod+S" = { "Mod+S" = {