This commit is contained in:
iFargle 2023-08-27 20:12:19 +09:00
parent ba282b6d33
commit 4efbd1521a
3 changed files with 9 additions and 9 deletions

View file

@ -11,8 +11,8 @@
}; };
# Helper function for generating host configs # Helper function for generating host configs
mkHost = { hostname, username, desktop ? null, installer ? null, gpu ? null }: inputs.nixpkgs.lib.nixosSystem { mkHost = { hostname, username, desktop ? null, installer ? null, gpu ? null, platform ? "x86_64-linux" }: inputs.nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu; }; specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu platform; };
modules = [ modules = [
../nixos ../nixos
inputs.sops-nix.nixosModules.sops inputs.sops-nix.nixosModules.sops

View file

@ -1,4 +1,4 @@
{inputs, pkgs, gpu, ...}: { {inputs, pkgs, gpu, platform, ...}: {
# nixpkgs = { # nixpkgs = {
# overlays = [ # overlays = [
@ -76,14 +76,10 @@
pkgs.swww # Wallpaper daemon pkgs.swww # Wallpaper daemon
pkgs.kitty # Terminal emulator pkgs.kitty # Terminal emulator
pkgs.rofi-wayland # App Launcher pkgs.rofi-wayland # App Launcher
pkgs.networkmanagerapplet # NetworkManager control applet
pkgs.grim # Screenshots pkgs.grim # Screenshots
pkgs.scrot # screenshots
pkgs.slurp # Screenshots pkgs.slurp # Screenshots
pkgs.wl-clipboard # Clipboard pkgs.wl-clipboard # Clipboard
pkgs.font-awesome # Fonts pkgs.font-awesome # Fonts
pkgs.gruvbox-gtk-theme # Gruvbox Theme
pkgs.papirus-icon-theme # Papirus Icons
pkgs.libinput-gestures # Gesture Control pkgs.libinput-gestures # Gesture Control
pkgs.playerctl # Control sublime-music from waybar? pkgs.playerctl # Control sublime-music from waybar?
pkgs.pavucontrol # Pulse Audio Volume CONTROL pkgs.pavucontrol # Pulse Audio Volume CONTROL
@ -94,7 +90,11 @@
pkgs.nwg-bar # Logout/shutdown/hibernate/lock screen modal UI pkgs.nwg-bar # Logout/shutdown/hibernate/lock screen modal UI
pkgs.ranger # TUI file manager pkgs.ranger # TUI file manager
pkgs.xdg-utils # Utilities for better X/Wayland integration pkgs.xdg-utils # Utilities for better X/Wayland integration
inputs.nixpkgs-wayland.packages.x86_64-Linux.wayprompt # from nixpkgs-wayland exclusively - pinentry UI inputs.nixpkgs-wayland.packages.${platform}.wayprompt # from nixpkgs-wayland exclusively - pinentry UI
# Themes
pkgs.gruvbox-gtk-theme # Gruvbox Theme
pkgs.papirus-icon-theme # Papirus Icons
]; ];
# Enable sound with pipewire. # Enable sound with pipewire.

View file

@ -1,4 +1,4 @@
{ lib, config, pkgs, hostname, stateVersion, username, desktop, gpu, inputs, ... }: { { lib, config, pkgs, hostname, stateVersion, username, desktop, gpu, inputs, platform, ... }: {
imports = [ imports = [
# Services # Services
./common/services/openssh.nix ./common/services/openssh.nix