This commit is contained in:
2025-01-30 21:55:28 +09:00
commit d725ad06a7
22 changed files with 550 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
{ pkgs, ... }:
{
programs = {
hyprland = {
enable = true;
xwayland.enable = true;
withUWSM = true;
};
hyprlock.enable = true;
regreet.enable = true;
};
services.hypridle.enable = true;
environment.systemPackages = with pkgs; [
swww
eww
];
}
+3
View File
@@ -0,0 +1,3 @@
{
virtualisation.docker.enable = true;
}
+11
View File
@@ -0,0 +1,11 @@
{ pkgs, ... }:
{
i18n.inputMethod = {
type = "fcitx5";
enable = true;
fcitx5.addons = with pkgs; [
fcitx5-mozc
fcitx5-gtk
];
};
}
+24
View File
@@ -0,0 +1,24 @@
{ pkgs, ... }:
{
programs = {
fish.enable = true;
git.enable = true;
neovim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
};
};
environment.systemPackages = with pkgs; [
bc
jq
socat
acpi
btrfs-progs
duf
lsof
pciutils
];
}
+24
View File
@@ -0,0 +1,24 @@
{
services.openssh = {
enable = true;
ports = [ 22 ];
settings = {
PasswordAuthentication = false;
AllowUsers = [ "hare" ];
UseDns = true;
X11Forwarding = false;
PermitRootLogin = "prohibit-password";
};
hostKeys = [
{
bits = 4096;
path = "/etc/ssh/ssh_host_rsa_key";
type = "rsa";
}
{
path = "/etc/ssh/ssh_host_ed25519_key";
type = "ed25519";
}
];
};
}
+14
View File
@@ -0,0 +1,14 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
zip
unzip
ripgrep
btop
bat
neovim
wezterm
kitty
nixfmt-rfc-style
];}
+7
View File
@@ -0,0 +1,7 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
v4l-utils
ffmpeg
];
}
+16
View File
@@ -0,0 +1,16 @@
{ pkgs, ... }:
{
imports = [
(fetchTarball {
url = "https://github.com/msteen/nixos-vscode-server/tarball/master";
sha256 = "09j4kvsxw1d5dvnhbsgih0icbrxqv90nzf0b589rb5z6gnzwjnqf";
})
];
environment.systemPackages = with pkgs; [
code-server
];
services.vscode-server.enable = true;
services.vscode-server.enableFHS = true;
services.vscode-server.nodejsPackage = pkgs.nodejs_22;
}