summaryrefslogtreecommitdiffstats
path: root/hosts/thinkpad/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/thinkpad/default.nix')
-rw-r--r--hosts/thinkpad/default.nix85
1 files changed, 85 insertions, 0 deletions
diff --git a/hosts/thinkpad/default.nix b/hosts/thinkpad/default.nix
new file mode 100644
index 0000000..d932fc7
--- /dev/null
+++ b/hosts/thinkpad/default.nix
@@ -0,0 +1,85 @@
+{
+ config,
+ inputs,
+ lib,
+ pkgs,
+ rootPath,
+ ...
+}: {
+ #Filesystems
+ fileSystems."/" =
+ { device = "/dev/disk/by-uuid/72e455f9-4b10-4cb2-a8e4-cfe39c4a8d1f";
+ fsType = "btrfs";
+ };
+
+ fileSystems."/boot" =
+ { device = "/dev/disk/by-uuid/27F7-4AFD";
+ fsType = "vfat";
+ };
+
+ swapDevices =
+ [
+ { device = "/dev/disk/by-uuid/4133a381-ab7d-4a25-9013-3f4b2d31bc5a"; }
+ ];
+
+ #Fonts
+ fonts.packages = with pkgs; [
+ fira-code
+ fira-code-symbols
+ font-awesome
+ liberation_ttf
+ noto-fonts
+ noto-fonts-cjk-sans
+ noto-fonts-color-emoji
+ nerd-fonts.fira-code
+ texlive.combined.scheme-full
+ ];
+
+ environment.systemPackages = [
+ pkgs.man-pages
+ pkgs.man-pages-posix
+ ];
+ documentation.dev.enable = true;
+
+ boot = {
+ kernelModules = [ "tp_smapi" ];
+ extraModulePackages = with config.boot.kernelPackages; [ tp_smapi ];
+ };
+
+ modules = {
+ hardware = {
+ laptop.enable = true;
+ };
+ device = {
+ cpu = "intel";
+ gpu = "intel";
+ drive = "ssd";
+ };
+ desktop = {
+ niri.enable = true;
+ apps = {
+ browsers.librewolf.enable = true;
+ games = {
+ enable = true;
+ steam.enable = true;
+ };
+ mpd.enable = false;
+ flatpak.enable = true;
+ newsboat.enable = true;
+ virt-manager.enable = true;
+ };
+ };
+ };
+
+ programs.direnv.enable = true;
+ virtualisation.docker.enable = true;
+
+ home.packages = with pkgs; [
+ cataclysm-dda
+ (callPackage (rootPath + /packages/freeciv/default.nix) {})
+ libreoffice
+ hunspell hunspellDicts.en_US
+ texliveMedium
+ vscode
+ ];
+}