mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 11:14:08 +09:00
feat
This commit is contained in:
+12
-1
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
inputs,
|
inputs,
|
||||||
|
pkgs,
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
@@ -9,6 +10,13 @@ let
|
|||||||
|
|
||||||
userName = "moons";
|
userName = "moons";
|
||||||
|
|
||||||
|
unstable = import inputs.nixpkgs-unstable {
|
||||||
|
inherit (pkgs) system;
|
||||||
|
config = {
|
||||||
|
allowUnfree = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
mkSystem =
|
mkSystem =
|
||||||
{
|
{
|
||||||
host,
|
host,
|
||||||
@@ -21,11 +29,14 @@ let
|
|||||||
nixosSystem {
|
nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
|
{
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
}
|
||||||
../profiles/${profile}.nix
|
../profiles/${profile}.nix
|
||||||
./${host}/default.nix
|
./${host}/default.nix
|
||||||
]
|
]
|
||||||
++ extraModules;
|
++ extraModules;
|
||||||
specialArgs = { inherit inputs userName; };
|
specialArgs = { inherit inputs userName unstable; };
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
_: {
|
_: {
|
||||||
boot.supportedFilesystems = [ "nfs" ];
|
boot.supportedFilesystems = [ "nfs" ];
|
||||||
|
fuse.userAllowOther = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
inputs.noctalia.packages.${system}.default
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
_: {
|
||||||
|
boot.kernelParams = [
|
||||||
|
"mem_sleep_default=deep"
|
||||||
|
];
|
||||||
|
|
||||||
|
powerManagement = {
|
||||||
|
enable = true;
|
||||||
|
powertop.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
services.power-profiles-daemon.enable = true;
|
||||||
|
services.tlp.enable = false;
|
||||||
|
services.upower.enable = true;
|
||||||
|
}
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
inputs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
inputs.lanzaboote.nixosModules.lanzaboote
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.loader = {
|
||||||
|
systemd-boot.enable = lib.mkForce false;
|
||||||
|
efi.canTouchEfiVariables = true;
|
||||||
|
efi.efiSysMountPoint = "/boot";
|
||||||
|
};
|
||||||
|
|
||||||
|
boot.lanzaboote = {
|
||||||
|
enable = true;
|
||||||
|
pkiBundle = "/var/lib/sbctl";
|
||||||
|
};
|
||||||
|
}
|
||||||
+25
-1
@@ -1,4 +1,8 @@
|
|||||||
{ userName, ... }:
|
{
|
||||||
|
pkgs,
|
||||||
|
userName,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../modules/nix/boot
|
../modules/nix/boot
|
||||||
@@ -8,6 +12,26 @@
|
|||||||
../modules/nix/user.nix
|
../modules/nix/user.nix
|
||||||
../modules/nix/network
|
../modules/nix/network
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs = {
|
||||||
|
zsh.enable = true;
|
||||||
|
gnupg.agent = {
|
||||||
|
enable = true;
|
||||||
|
enableSSHSupport = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
htop
|
||||||
|
btop # Simple Terminal Based System Monitor
|
||||||
|
unrar # Tool For Handling .rar Files
|
||||||
|
unzip # Tool For Handling .zip Files
|
||||||
|
wget # Tool For Fetching Files With Links
|
||||||
|
curl # Tool For Fetching Files With Links
|
||||||
|
git # Version Control System
|
||||||
|
unstable.msedit # Microsoft Editor
|
||||||
|
];
|
||||||
|
|
||||||
home-manager.users.${userName}.imports = [
|
home-manager.users.${userName}.imports = [
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,35 @@
|
|||||||
{ userName, ... }:
|
{
|
||||||
|
pkgs,
|
||||||
|
userName,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./base.nix
|
./base.nix
|
||||||
];
|
];
|
||||||
|
programs = {
|
||||||
|
java = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.jdk25;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
nil # Nix Language Server
|
||||||
|
docker # Containerization Platform
|
||||||
|
tio # A Simple TTY Terminal I/O Application
|
||||||
|
sqlite # Vscode Raycast Extension Dependency
|
||||||
|
oxker # Docker TUI Tool
|
||||||
|
jdk25 # Java Development Kit 25
|
||||||
|
maven # Java Build Tool
|
||||||
|
gradle # Java Build Tool
|
||||||
|
python312 # Python 3.12
|
||||||
|
uv # Universal Virtual Environment Manager For Python
|
||||||
|
bun # A Fast JavaScript Runtime Like Node.js And Deno
|
||||||
|
unstable.claude-code # Anthropic's AI Assistant
|
||||||
|
unstable.codex # OpenAI's Code Generation Model
|
||||||
|
unstable.opencode # Coding AI Assistant
|
||||||
|
];
|
||||||
|
|
||||||
home-manager.users.${userName}.imports = [ ];
|
home-manager.users.${userName}.imports = [ ];
|
||||||
}
|
}
|
||||||
|
|||||||
+26
-1
@@ -1,4 +1,8 @@
|
|||||||
{ userName, ... }:
|
{
|
||||||
|
pkgs,
|
||||||
|
userName,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./cli-minimal.nix
|
./cli-minimal.nix
|
||||||
@@ -8,6 +12,27 @@
|
|||||||
../modules/nix/greetd.nix
|
../modules/nix/greetd.nix
|
||||||
../modules/nix/i18n.nix
|
../modules/nix/i18n.nix
|
||||||
../modules/nix/kde.nix
|
../modules/nix/kde.nix
|
||||||
|
../modules/nix/noctalia.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs = {
|
||||||
|
niri.enable = true;
|
||||||
|
xwayland.enable = true;
|
||||||
|
dconf.enable = true;
|
||||||
|
seahorse.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
tuigreet # The Login Manager (Sometimes Referred To As Display Manager)
|
||||||
|
uwsm # Universal Wayland Session Manager (optional must be enabled)
|
||||||
|
alacritty # A GPU Accelerated Terminal Emulator
|
||||||
|
fuzzel # A Simple And Lightweight Application Launcher
|
||||||
|
unstable.ghostty # A Fast And Minimal Terminal Emulator For Wayland
|
||||||
|
xwayland-satellite # A Helper For Running X11 Applications In Wayland
|
||||||
|
slurp # A Tool For Selecting A Region Of The Screen
|
||||||
|
grim # A Tool For Taking Screenshots In Wayland with slurp
|
||||||
|
wf-recorder # A Screen Recorder For Wayland
|
||||||
|
];
|
||||||
|
|
||||||
home-manager.users.${userName}.imports = [ ];
|
home-manager.users.${userName}.imports = [ ];
|
||||||
}
|
}
|
||||||
|
|||||||
+12
-1
@@ -1,10 +1,21 @@
|
|||||||
{ userName, ... }:
|
{
|
||||||
|
pkgs,
|
||||||
|
userName,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./gui.nix
|
./gui.nix
|
||||||
../modules/nix/bluetooth.nix
|
../modules/nix/bluetooth.nix
|
||||||
../modules/nix/fingerprint.nix
|
../modules/nix/fingerprint.nix
|
||||||
../modules/nix/network/wifi.nix
|
../modules/nix/network/wifi.nix
|
||||||
|
../modules/nix/power.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
tailscale # Zero-Config VPN
|
||||||
|
sbctl # Secure Boot Key Management Tool
|
||||||
|
];
|
||||||
|
|
||||||
home-manager.users.${userName}.imports = [ ];
|
home-manager.users.${userName}.imports = [ ];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user