updates
This commit is contained in:
parent
e7059d86b6
commit
1f9b248c04
5 changed files with 19 additions and 9 deletions
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -17,11 +17,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1689209875,
|
"lastModified": 1689503327,
|
||||||
"narHash": "sha256-8AVcBV1DiszaZzHFd5iLc8HSLfxRAuqcU0QdfBEF3Ag=",
|
"narHash": "sha256-qVwzYLA8oT2oWNDXO0A3bZHOhoPOihIB9T677+Hor1E=",
|
||||||
"owner": "Nixos",
|
"owner": "Nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "fcc147b1e9358a8386b2c4368bd928e1f63a7df2",
|
"rev": "f64b9738da8e86195766147e9752c67fccee006c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -54,12 +54,15 @@
|
||||||
|
|
||||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
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.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
||||||
boot.kernelModules = [ "i2c-dev" "kvm-amd" ];
|
boot.kernelModules = [ "i2c-dev" "kvm-amd" ];
|
||||||
|
|
||||||
networking.useDHCP = lib.mkDefault true;
|
hardware.nvidia = {
|
||||||
|
modesetting.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
networking.hostName = "NOcomputer";
|
networking.hostName = "NOcomputer";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
{ lib, modulesPath, pkgs, ... }: {
|
{ lib, modulesPath, pkgs, ... }: {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
fileSystems."/home" = {
|
fileSystems."/home" = {
|
||||||
|
|
@ -21,9 +20,12 @@
|
||||||
|
|
||||||
swapDevices = [{ device = "/dev/disk/by-uuid/ca55d0ea-c0db-44c5-af3a-e38eec803929"; }];
|
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") ];
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = "x86_64-linux";
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [
|
boot.initrd.availableKernelModules = [
|
||||||
"nvme"
|
"nvme"
|
||||||
|
|
@ -37,8 +39,9 @@
|
||||||
"nvme.noacpi=1"
|
"nvme.noacpi=1"
|
||||||
];
|
];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
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";
|
networking.hostName = "NOlaptop";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,13 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
users.users.tao.packages = with pkgs; [
|
users.users.tao.packages = with pkgs; [
|
||||||
|
darktable
|
||||||
deluge
|
deluge
|
||||||
discord
|
discord
|
||||||
elf2uf2-rs
|
elf2uf2-rs
|
||||||
# fractal
|
# fractal
|
||||||
gcc
|
gcc
|
||||||
|
gh
|
||||||
gdb
|
gdb
|
||||||
keepassxc
|
keepassxc
|
||||||
libsForQt5.kdeconnect-kde
|
libsForQt5.kdeconnect-kde
|
||||||
|
|
|
||||||
|
|
@ -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/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/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/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/television"; where = "/mnt/uwuraid/television"; })
|
||||||
(commonMountOptions // { what = "192.168.86.56:/mnt/user/photos"; where = "/mnt/uwuraid/photos"; })
|
(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/anime"; })
|
||||||
(commonAutoMountOptions // { where = "/mnt/uwuraid/backup"; })
|
(commonAutoMountOptions // { where = "/mnt/uwuraid/backup"; })
|
||||||
|
(commonAutoMountOptions // { where = "/mnt/uwuraid/everything"; })
|
||||||
(commonAutoMountOptions // { where = "/mnt/uwuraid/syncthing"; })
|
(commonAutoMountOptions // { where = "/mnt/uwuraid/syncthing"; })
|
||||||
(commonAutoMountOptions // { where = "/mnt/uwuraid/television"; })
|
(commonAutoMountOptions // { where = "/mnt/uwuraid/television"; })
|
||||||
(commonAutoMountOptions // { where = "/mnt/uwuraid/photos"; })
|
(commonAutoMountOptions // { where = "/mnt/uwuraid/photos"; })
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue