mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 01:58:12 +09:00
feat
This commit is contained in:
+12
-1
@@ -1,5 +1,6 @@
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
@@ -9,6 +10,13 @@ let
|
||||
|
||||
userName = "moons";
|
||||
|
||||
unstable = import inputs.nixpkgs-unstable {
|
||||
inherit (pkgs) system;
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
};
|
||||
|
||||
mkSystem =
|
||||
{
|
||||
host,
|
||||
@@ -21,11 +29,14 @@ let
|
||||
nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
{
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
}
|
||||
../profiles/${profile}.nix
|
||||
./${host}/default.nix
|
||||
]
|
||||
++ extraModules;
|
||||
specialArgs = { inherit inputs userName; };
|
||||
specialArgs = { inherit inputs userName unstable; };
|
||||
};
|
||||
in
|
||||
{
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
_: {
|
||||
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 = [
|
||||
../modules/nix/boot
|
||||
@@ -8,6 +12,26 @@
|
||||
../modules/nix/user.nix
|
||||
../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 = [
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1,7 +1,35 @@
|
||||
{ userName, ... }:
|
||||
{
|
||||
pkgs,
|
||||
userName,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./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 = [ ];
|
||||
}
|
||||
|
||||
+26
-1
@@ -1,4 +1,8 @@
|
||||
{ userName, ... }:
|
||||
{
|
||||
pkgs,
|
||||
userName,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./cli-minimal.nix
|
||||
@@ -8,6 +12,27 @@
|
||||
../modules/nix/greetd.nix
|
||||
../modules/nix/i18n.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 = [ ];
|
||||
}
|
||||
|
||||
+12
-1
@@ -1,10 +1,21 @@
|
||||
{ userName, ... }:
|
||||
{
|
||||
pkgs,
|
||||
userName,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./gui.nix
|
||||
../modules/nix/bluetooth.nix
|
||||
../modules/nix/fingerprint.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 = [ ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user