added config for waku

This commit is contained in:
Kenryu Shibata
2026-03-11 20:03:54 +09:00
parent d471aa77f9
commit 52d1d2db18
3 changed files with 35 additions and 5 deletions

View File

@@ -6,10 +6,10 @@ let
common-nvidia = inputs.nixos-hardware.nixosModules.common-gpu-nvidia-nonprime; common-nvidia = inputs.nixos-hardware.nixosModules.common-gpu-nvidia-nonprime;
framework16 = inputs.nixos-hardware.nixosModules.framework-16-7040-amd; framework16 = inputs.nixos-hardware.nixosModules.framework-16-7040-amd;
# mkHost - String -> Boolean -> [Attr] -> Attr - Create nixos system attribute set # mkHost := String -> Boolean -> [Attr] -> Attr - Create nixos system attribute set
# @param name - String - Name of the system # @param name := String - Name of the system
# @param useXLibre - Boolean - If set true, adds xlibre overlays to modules # @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 # @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 # @return - An attribute set that describes NixOS system configurations
mkHost = name: useXLibre: machine: mkHost = name: useXLibre: machine:

25
hosts/waku/default.nix Normal file
View File

@@ -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";
}

View File

@@ -30,7 +30,7 @@
}; };
}; };
services.libinput = { services.libinput = lib.mkDefault {
enable = true; enable = true;
touchpad = { touchpad = {
tapping = true; tapping = true;
@@ -44,5 +44,10 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
alacritty alacritty
xfe xfe
feh
keepassxc
kdePackages.spectacle
kdePackages.gwenview
kdePackages.okular
]; ];
} }