mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 15:59:06 +02:00
debugging
This commit is contained in:
14
modules/base/base.nix
Normal file
14
modules/base/base.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ inputs, ... }: {
|
||||
flake.nixosModules.base = {
|
||||
imports = with inputs.self.nixosModules; [
|
||||
boot
|
||||
firmware
|
||||
locale
|
||||
networking
|
||||
security
|
||||
shellapps
|
||||
version
|
||||
zsh
|
||||
];
|
||||
};
|
||||
}
|
||||
6
modules/base/firmware/firmware.nix
Normal file
6
modules/base/firmware/firmware.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.firmware = {
|
||||
services.fwupd.enable = true;
|
||||
hardware.enableAllFirmware = true;
|
||||
};
|
||||
}
|
||||
19
modules/base/locale/locale.nix
Normal file
19
modules/base/locale/locale.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.locale = {
|
||||
time.timeZone = "Europe/Berlin";
|
||||
i18n.defaultLocale = "de_DE.UTF-8";
|
||||
console.keyMap = "de";
|
||||
services.xserver.xkb.layout = "de";
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_ADDRESS = "de_DE.UTF-8";
|
||||
LC_IDENTIFICATION = "de_DE.UTF-8";
|
||||
LC_MEASUREMENT = "de_DE.UTF-8";
|
||||
LC_MONETARY = "de_DE.UTF-8";
|
||||
LC_NAME = "de_DE.UTF-8";
|
||||
LC_NUMERIC = "de_DE.UTF-8";
|
||||
LC_PAPER = "de_DE.UTF-8";
|
||||
LC_TELEPHONE = "de_DE.UTF-8";
|
||||
LC_TIME = "de_DE.UTF-8";
|
||||
};
|
||||
};
|
||||
}
|
||||
5
modules/base/security/security.nix
Normal file
5
modules/base/security/security.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.security = {
|
||||
security.rtkit.enable = true;
|
||||
};
|
||||
}
|
||||
5
modules/base/version/version.nix
Normal file
5
modules/base/version/version.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.version = {
|
||||
system.stateVersion = "25.11";
|
||||
};
|
||||
}
|
||||
12
modules/base/zsh/zsh.nix
Normal file
12
modules/base/zsh/zsh.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.zsh = {pkgs, ... }:{
|
||||
programs.zsh.enable = true;
|
||||
programs.zsh.enableCompletion = true;
|
||||
programs.zsh.syntaxHighlighting.enable = true;
|
||||
programs.zsh.autosuggestions.enable = true;
|
||||
programs.zsh.autosuggestions.async = true;
|
||||
programs.zsh.ohMyZsh.enable = true;
|
||||
programs.zsh.ohMyZsh.theme = "agnoster";
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
};
|
||||
}
|
||||
@@ -3,10 +3,7 @@
|
||||
flake.nixosModules.computer-mo = {
|
||||
imports = with inputs.self.modules.nixos; [
|
||||
base
|
||||
gnome
|
||||
gnome-apps
|
||||
steam
|
||||
overclocking
|
||||
home-manager
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,6 +4,6 @@
|
||||
boot.kernelParams = [ "quiet" "splash" "boot.shell_on_fail" "loglevel=3" "rd.systemd.show_status=false" "rd.udev.log_level=3" "udev.log_priority=3" ];
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
networking.hostName = computer-mo;
|
||||
networking.hostName = "computer-mo";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -14,4 +14,8 @@
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
};
|
||||
|
||||
flake.nixosModules.nix-settings = {
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user