summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixos/common.nix1
-rw-r--r--nixos/kusanagi.nix2
-rw-r--r--nixpkgs/kusanagi.nix4
3 files changed, 4 insertions, 3 deletions
diff --git a/nixos/common.nix b/nixos/common.nix
index cfbc160..a840d3b 100644
--- a/nixos/common.nix
+++ b/nixos/common.nix
@@ -2,6 +2,7 @@
{
boot.supportedFilesystems = [ "ntfs" ];
+ boot.cleanTmpDir = true;
networking.networkmanager.enable = true;
diff --git a/nixos/kusanagi.nix b/nixos/kusanagi.nix
index eea3f9e..236e162 100644
--- a/nixos/kusanagi.nix
+++ b/nixos/kusanagi.nix
@@ -34,6 +34,7 @@
fileSystems."/" = {
device = "/dev/disk/by-uuid/2f606c6b-8009-4158-b367-2e0cf1a57ade";
fsType = "ext4";
+ options = [ "discard" ];
};
fileSystems."/boot" = {
@@ -44,6 +45,7 @@
fileSystems."/home" = {
device = "/dev/disk/by-uuid/f955ce34-f25e-4abf-8732-bcf17465f78c";
fsType = "ext4";
+ options = [ "discard" ];
};
swapDevices =
diff --git a/nixpkgs/kusanagi.nix b/nixpkgs/kusanagi.nix
index 6757886..56d3dc4 100644
--- a/nixpkgs/kusanagi.nix
+++ b/nixpkgs/kusanagi.nix
@@ -1,7 +1,5 @@
{ pkgs, ... }: {
- imports = [
- ./common.nix
- ];
+ imports = [ ./common.nix ];
home.homeDirectory = "/home/lx";
xdg.userDirs.download = "/home/lx/Downloads";