summaryrefslogtreecommitdiff
path: root/hosts/laptop
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2026-04-12 23:47:47 +0200
committeradikro <adikro@disroot.org>2026-04-12 23:47:47 +0200
commitbf126b5e1ae5cbab3b62c00bbff614a23539e431 (patch)
treeb275c56596eaf3f5754cea30f04e84bbcc21e305 /hosts/laptop
parent3ed184c48a1154a2548df807c8aaae7888e4792c (diff)
finalized client configs for tor, i2pd and yggdrasil
Diffstat (limited to 'hosts/laptop')
-rw-r--r--hosts/laptop/configuration.nix61
-rw-r--r--hosts/laptop/hardware-configuration.nix50
-rw-r--r--hosts/laptop/home.nix52
3 files changed, 0 insertions, 163 deletions
diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix
deleted file mode 100644
index df4ba29..0000000
--- a/hosts/laptop/configuration.nix
+++ /dev/null
@@ -1,61 +0,0 @@
-{ username, ... }:
-{
- system.stateVersion = "25.05";
-
- imports = [
- ./hardware-configuration.nix
- ../../os/default.nix
- ];
-
- os = {
- core = {
- allowUnfree.enable = true;
-
- audio.enable = true;
- bootloader = {
- type = "grub";
- grub = {
- useOSProber = true;
- defaultEntry = 2;
- };
- };
- drivers = {
- enable = true;
- cpu = "amd";
- graphics.enable = true;
- };
- fonts.enable = true;
- greet.enable = true;
- home-manager = {
- enable = true;
- users.${username}.path = ./home.nix;
- };
- locale.enable = true;
- memory = {
- zram.enable = true;
- swapfile.enable = true;
- };
- network.enable = true;
- power = {
- enable = true;
- mode = "amd";
- };
- security.enable = true;
- ssh.enable = true;
- storage.enable = true;
- users.enable = true;
- };
- srv = {
- bluetooth.enable = true;
- files.enable = true;
- gaming.enable = true;
- nix-helper.enable = true;
- kdeconnect.enable = true;
- sops.enable = true;
- };
- wm = {
- enable = true;
- niri.enable = true;
- };
- };
-}
diff --git a/hosts/laptop/hardware-configuration.nix b/hosts/laptop/hardware-configuration.nix
deleted file mode 100644
index 527535a..0000000
--- a/hosts/laptop/hardware-configuration.nix
+++ /dev/null
@@ -1,50 +0,0 @@
-# Do not modify this file! It was generated by ‘nixos-generate-config’
-# and may be overwritten by future invocations. Please make changes
-# to /etc/nixos/configuration.nix instead.
-{ config, lib, pkgs, modulesPath, ... }:
-
-{
- imports =
- [ (modulesPath + "/installer/scan/not-detected.nix")
- ];
-
- boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "sd_mod" ];
- boot.initrd.kernelModules = [ ];
- boot.kernelModules = [ "kvm-amd" ];
- boot.extraModulePackages = [ ];
-
- fileSystems."/" =
- { device = "/dev/disk/by-uuid/3ad0b58c-eb15-475d-b29d-e9dd0c0f5e79";
- fsType = "btrfs";
- options = [ "subvol=root" ];
- };
-
- fileSystems."/nix" =
- { device = "/dev/disk/by-uuid/3ad0b58c-eb15-475d-b29d-e9dd0c0f5e79";
- fsType = "btrfs";
- options = [ "subvol=nix" ];
- };
-
- fileSystems."/home" =
- { device = "/dev/disk/by-uuid/3ad0b58c-eb15-475d-b29d-e9dd0c0f5e79";
- fsType = "btrfs";
- options = [ "subvol=home" ];
- };
-
- fileSystems."/.swapvol" =
- { device = "/dev/disk/by-uuid/3ad0b58c-eb15-475d-b29d-e9dd0c0f5e79";
- fsType = "btrfs";
- options = [ "subvol=swap" ];
- };
-
- fileSystems."/boot" =
- { device = "/dev/disk/by-uuid/EEF5-007B";
- fsType = "vfat";
- options = [ "fmask=0022" "dmask=0022" ];
- };
-
- swapDevices = [ ];
-
- nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
- hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
-}
diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix
deleted file mode 100644
index 272cca3..0000000
--- a/hosts/laptop/home.nix
+++ /dev/null
@@ -1,52 +0,0 @@
-{ username, ... }:
-{
- imports = [ ../../hm/default.nix ];
-
- home = {
- username = "${username}";
- homeDirectory = "/home/${username}";
- stateVersion = "25.05";
- };
-
- hm = {
- conf = {
- clip = {
- enable = true;
- backend = "wayland";
- };
- git.enable = true;
- xdg-dirs.enable = true;
- xdg-mime.enable = true;
- };
- editors.nixvim.enable = true;
- env = {
- niri.enable = true;
- cursor.enableMiyabi = true;
-
- waybar.enable = true;
- themes = {
- enable = true;
- gtk.enable = true;
- qt.enable = true;
- };
- };
- shell = {
- cli.enable = true;
- fish.enable = true;
- foot.enable = true;
- starship.enable = true;
- };
- soft = {
- browser.librewolf.enable = true;
- email.thunderbird.enable = true;
- media.enable = true;
- mpv.enable = true;
- nixcord.enable = true;
- onlyoffice.enable = true;
- obsidian.enable = true;
- spicetify.enable = true;
- torrent.enable = true;
- yt-dlp.enable = true;
- };
- };
-}