This commit is contained in:
Tao Tien 2023-07-18 11:12:40 -07:00
parent e7059d86b6
commit 1f9b248c04
5 changed files with 19 additions and 9 deletions

6
flake.lock generated
View file

@ -17,11 +17,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1689209875,
"narHash": "sha256-8AVcBV1DiszaZzHFd5iLc8HSLfxRAuqcU0QdfBEF3Ag=",
"lastModified": 1689503327,
"narHash": "sha256-qVwzYLA8oT2oWNDXO0A3bZHOhoPOihIB9T677+Hor1E=",
"owner": "Nixos",
"repo": "nixpkgs",
"rev": "fcc147b1e9358a8386b2c4368bd928e1f63a7df2",
"rev": "f64b9738da8e86195766147e9752c67fccee006c",
"type": "github"
},
"original": {

View file

@ -54,12 +54,15 @@
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
nixpkgs.hostPlatform = "x86_64-linux";
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.kernelModules = [ "i2c-dev" "kvm-amd" ];
networking.useDHCP = lib.mkDefault true;
hardware.nvidia = {
modesetting.enable = true;
};
networking.hostName = "NOcomputer";
}

View file

@ -1,6 +1,5 @@
{ lib, modulesPath, pkgs, ... }: {
environment.systemPackages = with pkgs; [
];
fileSystems."/home" = {
@ -21,9 +20,12 @@
swapDevices = [{ device = "/dev/disk/by-uuid/ca55d0ea-c0db-44c5-af3a-e38eec803929"; }];
services.fprintd.enable = true;
services.fwupd.enable = true;
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
nixpkgs.hostPlatform = "x86_64-linux";
boot.initrd.availableKernelModules = [
"nvme"
@ -37,8 +39,9 @@
"nvme.noacpi=1"
];
boot.kernelModules = [ "kvm-intel" ];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
powerManagement.cpuFreqGovernor = "powersave";
hardware.sensor.iio.enable = true;
networking.useDHCP = lib.mkDefault true;
networking.hostName = "NOlaptop";
}

View file

@ -4,11 +4,13 @@ let
in
{
users.users.tao.packages = with pkgs; [
darktable
deluge
discord
elf2uf2-rs
# fractal
gcc
gh
gdb
keepassxc
libsForQt5.kdeconnect-kde

View file

@ -4,6 +4,7 @@
[
(commonMountOptions // { what = "192.168.86.56:/mnt/user/anime"; where = "/mnt/uwuraid/anime"; })
(commonMountOptions // { what = "192.168.86.56:/mnt/user/backup"; where = "/mnt/uwuraid/backup"; })
(commonMountOptions // { what = "192.168.86.56:/mnt/user/everything"; where = "/mnt/uwuraid/everything"; })
(commonMountOptions // { what = "192.168.86.56:/mnt/user/syncthing"; where = "/mnt/uwuraid/syncthing"; })
(commonMountOptions // { what = "192.168.86.56:/mnt/user/television"; where = "/mnt/uwuraid/television"; })
(commonMountOptions // { what = "192.168.86.56:/mnt/user/photos"; where = "/mnt/uwuraid/photos"; })
@ -13,6 +14,7 @@
[
(commonAutoMountOptions // { where = "/mnt/uwuraid/anime"; })
(commonAutoMountOptions // { where = "/mnt/uwuraid/backup"; })
(commonAutoMountOptions // { where = "/mnt/uwuraid/everything"; })
(commonAutoMountOptions // { where = "/mnt/uwuraid/syncthing"; })
(commonAutoMountOptions // { where = "/mnt/uwuraid/television"; })
(commonAutoMountOptions // { where = "/mnt/uwuraid/photos"; })