some stuff
This commit is contained in:
parent
726e86d813
commit
f1a6ff986b
3 changed files with 6 additions and 21 deletions
|
@ -2,7 +2,7 @@
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, emacs-overlay, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
|
@ -19,6 +19,9 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.emacs.package = pkgs.emacs29-pgtk;
|
||||||
|
services.emacs.enable = true;
|
||||||
|
|
||||||
# optimize power usage
|
# optimize power usage
|
||||||
powerManagement.enable = true;
|
powerManagement.enable = true;
|
||||||
|
|
||||||
|
@ -153,25 +156,6 @@
|
||||||
|
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
|
|
||||||
# NFS setup
|
|
||||||
services.rpcbind.enable = true; # needed for NFS
|
|
||||||
systemd.mounts = [{
|
|
||||||
type = "nfs";
|
|
||||||
mountConfig = {
|
|
||||||
Options = "noatime";
|
|
||||||
};
|
|
||||||
what = "192.168.178.20:/volume1/MiniDrive";
|
|
||||||
where = "/MiniDrive";
|
|
||||||
}];
|
|
||||||
|
|
||||||
systemd.automounts = [{
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
|
||||||
automountConfig = {
|
|
||||||
TimeoutIdleSec = "10";
|
|
||||||
};
|
|
||||||
where = "/MiniDrive";
|
|
||||||
}];
|
|
||||||
|
|
||||||
# source zsh
|
# source zsh
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
users.defaultUserShell = pkgs.zsh;
|
users.defaultUserShell = pkgs.zsh;
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
boot.kernelModules = [ "amdgpu" ];
|
boot.kernelModules = [ "amdgpu" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
boot.kernelParams = [ "video=DP-1:2560x1440@144" "video=HDMI-A-1:1920x1080@75" ];
|
boot.kernelParams = [ "video=DP-1:2560x1440@144" "video=HDMI-A-1:1920x1080@75" ];
|
||||||
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/2191540a-8cf9-400e-b4bc-9dbf71527b07";
|
{ device = "/dev/disk/by-uuid/2191540a-8cf9-400e-b4bc-9dbf71527b07";
|
||||||
|
|
|
@ -77,7 +77,7 @@
|
||||||
gnome.file-roller
|
gnome.file-roller
|
||||||
discord
|
discord
|
||||||
zip
|
zip
|
||||||
emacs
|
# emacs
|
||||||
shellcheck
|
shellcheck
|
||||||
|
|
||||||
# yubikey
|
# yubikey
|
||||||
|
|
Loading…
Reference in a new issue