diff --git a/hosts/default.nix b/hosts/default.nix index db6f2ec..26aa943 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -6,10 +6,10 @@ let common-nvidia = inputs.nixos-hardware.nixosModules.common-gpu-nvidia-nonprime; framework16 = inputs.nixos-hardware.nixosModules.framework-16-7040-amd; - # mkHost - String -> Boolean -> [Attr] -> Attr - Create nixos system attribute set - # @param name - String - Name of the system - # @param useXLibre - Boolean - If set true, adds xlibre overlays to modules - # @param machine - [Attr] - Array of attribute sets from nixos-hardware nixos Module for setting machine's preset + # mkHost := String -> Boolean -> [Attr] -> Attr - Create nixos system attribute set + # @param name := String - Name of the system + # @param useXLibre := Boolean - If set true, adds xlibre overlays to modules + # @param machine := [Attr] - Array of attribute sets from nixos-hardware nixos Module for setting machine's preset # @return - An attribute set that describes NixOS system configurations mkHost = name: useXLibre: machine: diff --git a/hosts/waku/default.nix b/hosts/waku/default.nix new file mode 100644 index 0000000..052fa53 --- /dev/null +++ b/hosts/waku/default.nix @@ -0,0 +1,25 @@ +{ config, lib, pkgs, ... }: + +{ + imports = + [ + ./hardware-configuration.nix + ../../profiles/base.nix + # ../../profiles/desktop.nix + ]; + + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; + + environment.systemPackages = with pkgs; [ + vim + tmux + ]; + + networking.hostName = "wakugumi-hitoroku"; + networking.firewall.enable = true; + + system.stateVersion = "25.11"; + +} + diff --git a/profiles/desktop.nix b/profiles/desktop.nix index 4324227..91548a9 100644 --- a/profiles/desktop.nix +++ b/profiles/desktop.nix @@ -30,7 +30,7 @@ }; }; - services.libinput = { + services.libinput = lib.mkDefault { enable = true; touchpad = { tapping = true; @@ -44,5 +44,10 @@ environment.systemPackages = with pkgs; [ alacritty xfe + feh + keepassxc + kdePackages.spectacle + kdePackages.gwenview + kdePackages.okular ]; }