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
mkHost = { hostname, username, desktop ? null, installer ? null, gpu ? null }: inputs.nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu; };
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 platform; };
modules = [
../nixos
inputs.sops-nix.nixosModules.sops

View file

@ -1,4 +1,4 @@
{inputs, pkgs, gpu, ...}: {
{inputs, pkgs, gpu, platform, ...}: {
# nixpkgs = {
# overlays = [
@ -76,14 +76,10 @@
pkgs.swww # Wallpaper daemon
pkgs.kitty # Terminal emulator
pkgs.rofi-wayland # App Launcher
pkgs.networkmanagerapplet # NetworkManager control applet
pkgs.grim # Screenshots
pkgs.scrot # screenshots
pkgs.slurp # Screenshots
pkgs.wl-clipboard # Clipboard
pkgs.font-awesome # Fonts
pkgs.gruvbox-gtk-theme # Gruvbox Theme
pkgs.papirus-icon-theme # Papirus Icons
pkgs.libinput-gestures # Gesture Control
pkgs.playerctl # Control sublime-music from waybar?
pkgs.pavucontrol # Pulse Audio Volume CONTROL
@ -94,7 +90,11 @@
pkgs.nwg-bar # Logout/shutdown/hibernate/lock screen modal UI
pkgs.ranger # TUI file manager
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.

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 = [
# Services
./common/services/openssh.nix