This commit is contained in:
2025-01-30 21:55:28 +09:00
commit d725ad06a7
22 changed files with 550 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
{ pkgs, ... }:
{
boot = {
supportedFilesystems = [ "ext4" "btrfs" "xfs" "vfat" "ntfs" ];
};
}
+11
View File
@@ -0,0 +1,11 @@
{
imports = [
./nix.nix
./boot.nix
./uwsm.nix
./locale.nix
./network.nix
./fonts.nix
./sound.nix
];
}
+18
View File
@@ -0,0 +1,18 @@
{ pkgs, ... }:
{
fonts = {
packages = with pkgs; [
noto-fonts
noto-fonts-cjk-sans
noto-fonts-emoji
ibm-plex
];
fontconfig = {
defaultFonts = {
serif = [ "Noto Serif" ];
sansSerif = [ "Noto Sans" ];
monospace = [ "IBM Plex Mono" ];
};
};
};
}
+5
View File
@@ -0,0 +1,5 @@
{
time.timeZone = "Asia/Tokyo";
i18n.defaultLocale = "en_US.UTF-8";
time.hardwareClockInLocalTime = true;
}
+13
View File
@@ -0,0 +1,13 @@
{ config, hostname, ... }:
{
networking = {
hostName = hostname;
networkmanager.enable = true;
firewall = {
enable = true;
};
};
# nixpkgs issue#180175
systemd.services.NetworkManager-wait-online.enable = false;
}
+17
View File
@@ -0,0 +1,17 @@
{
nix = {
settings = {
experimental-features = [
"nix-command"
"flakes"
];
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
};
nixpkgs.config.allowUnfree = true;
}
+9
View File
@@ -0,0 +1,9 @@
{
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
}
+12
View File
@@ -0,0 +1,12 @@
{
programs.uwsm = {
enable = true;
waylandCompositors = {
hyprland = {
prettyName = "Hyprland";
comment = "Hyprland compositor managed by UWSM";
binPath = "/run/current-system/sw/bin/Hyprland";
};
};
};
}