summaryrefslogtreecommitdiff
path: root/hosts/pendrive/configuration.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2026-01-25 17:01:14 +0100
committeradikro <adikro@disroot.org>2026-01-25 17:01:14 +0100
commit6975866817064eb2edab6825b4905ca7500cf813 (patch)
tree4f07153d43d78c539b87b63a6afb0a04f60b465e /hosts/pendrive/configuration.nix
parentb0bd96459ff81aaf1a4e768b1a6222cdd86026f9 (diff)
pendrive setup
Diffstat (limited to 'hosts/pendrive/configuration.nix')
-rw-r--r--hosts/pendrive/configuration.nix49
1 files changed, 49 insertions, 0 deletions
diff --git a/hosts/pendrive/configuration.nix b/hosts/pendrive/configuration.nix
new file mode 100644
index 0000000..56a2aad
--- /dev/null
+++ b/hosts/pendrive/configuration.nix
@@ -0,0 +1,49 @@
+{ inputs, username, ... }:
+{
+ system.stateVersion = "25.05";
+
+ imports = [
+ inputs.disko.nixosModules.disko
+ ./disko.nix
+
+ ./hardware-configuration.nix
+ ../../os/default.nix
+ ];
+
+ os = {
+ core = {
+ allowUnfree.enable = true;
+
+ audio.enable = true;
+ bootloader = "systemd-boot";
+ drivers.enable = true;
+ fonts.enable = true;
+ greet.enable = true;
+ home-manager = {
+ enable = true;
+ users.${username}.path = ./home.nix;
+ };
+ locale.enable = true;
+ memory.zram = {
+ enable = true;
+ percent = 25;
+ };
+ network.enable = true;
+ security.enable = true;
+ ssh.enable = true;
+ storage.enable = true;
+ users.enable = true;
+ };
+ srv = {
+ files = {
+ thunar.enable = true;
+ utils.enable = true;
+ };
+ nix-helper.enable = true;
+ };
+ wm = {
+ enable = true;
+ niri.enable = true;
+ };
+ };
+}