Compare commits

...

3 commits

Author SHA1 Message Date
54e7003bd1
flake.lock: Update
Flake lock file updates:

• Updated input 'cask-fonts':
    'github:homebrew/homebrew-cask-fonts/fe9faf2469a035266992c35bed50e082420679f8' (2024-05-13)
  → 'github:homebrew/homebrew-cask-fonts/0ed20f35d21ebc3f4f829689b101078718ad5ce1' (2024-05-16)
• Updated input 'darwin':
    'github:lnl7/nix-darwin/230a197063de9287128e2c68a7a4b0cd7d0b50a7' (2024-04-24)
  → 'github:lnl7/nix-darwin/8bf083c992e2bc0a8c07f5860d3866739b698883' (2024-05-20)
• Updated input 'home-manager':
    'github:nix-community/home-manager/44677a1c96810a8e8c4ffaeaad10c842402647c1' (2024-05-12)
  → 'github:nix-community/home-manager/e3ad5108f54177e6520535768ddbf1e6af54b59d' (2024-05-17)
• Updated input 'homebrew-cask':
    'github:homebrew/homebrew-cask/3c5e18462378b0a02c110600db381ac5aefa64b8' (2024-05-13)
  → 'github:homebrew/homebrew-cask/57d19c56253385753f54e5b0d556d7786e706895' (2024-05-21)
• Updated input 'homebrew-core':
    'github:homebrew/homebrew-core/96a62c6b06ff5fb7ded99dac22013e1d7deb1260' (2024-05-13)
  → 'github:homebrew/homebrew-core/40cdd6668d16ca01765ee162b49363096051d694' (2024-05-21)
• Updated input 'hyprland-contrib':
    'github:hyprwm/contrib/110e6dc761d5c3d352574def3479a9c39dfc4358' (2024-04-22)
  → 'github:hyprwm/contrib/33b38358559054d316eb605ccb733980dfa7dc63' (2024-05-20)
• Updated input 'unstable':
    'github:nixos/nixpkgs/062ca2a9370a27a35c524dc82d540e6e9824b652' (2024-05-11)
  → 'github:nixos/nixpkgs/6c0b7a92c30122196a761b440ac0d46d3d9954f1' (2024-05-19)
2024-05-21 20:24:28 +02:00
5ef874dc11
Merge branch 'main' of git.vatthauer.xyz:leonv/nixos 2024-05-21 20:24:04 +02:00
f1a6ff986b
some stuff 2024-05-21 20:24:02 +02:00
4 changed files with 27 additions and 42 deletions

View file

@ -20,11 +20,11 @@
"cask-fonts": {
"flake": false,
"locked": {
"lastModified": 1715569399,
"narHash": "sha256-bGbC5sO3wN7UWVlaCoUUnlpp24P/9kV34LaBjvXQP9Y=",
"lastModified": 1715830477,
"narHash": "sha256-AjZYkbKvpRIHUwSimOebOQ/AuwP7Z3eIKFTyJaHyG1g=",
"owner": "homebrew",
"repo": "homebrew-cask-fonts",
"rev": "fe9faf2469a035266992c35bed50e082420679f8",
"rev": "0ed20f35d21ebc3f4f829689b101078718ad5ce1",
"type": "github"
},
"original": {
@ -55,11 +55,11 @@
]
},
"locked": {
"lastModified": 1713946171,
"narHash": "sha256-lc75rgRQLdp4Dzogv5cfqOg6qYc5Rp83oedF2t0kDp8=",
"lastModified": 1716240091,
"narHash": "sha256-++gJuNv0X8naF1VkaO2sAiM3T4wLx1NtdfubEsRzX7U=",
"owner": "lnl7",
"repo": "nix-darwin",
"rev": "230a197063de9287128e2c68a7a4b0cd7d0b50a7",
"rev": "8bf083c992e2bc0a8c07f5860d3866739b698883",
"type": "github"
},
"original": {
@ -128,11 +128,11 @@
]
},
"locked": {
"lastModified": 1715486357,
"narHash": "sha256-4pRuzsHZOW5W4CsXI9uhKtiJeQSUoe1d2M9mWU98HC4=",
"lastModified": 1715930644,
"narHash": "sha256-W9pyM3/vePxrffHtzlJI6lDS3seANQ+Nqp+i58O46LI=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "44677a1c96810a8e8c4ffaeaad10c842402647c1",
"rev": "e3ad5108f54177e6520535768ddbf1e6af54b59d",
"type": "github"
},
"original": {
@ -144,11 +144,11 @@
"homebrew-cask": {
"flake": false,
"locked": {
"lastModified": 1715577907,
"narHash": "sha256-K4GPPLjVdDOZZRE50tVwqLh96+WGSWnO9uZkuut/5vs=",
"lastModified": 1716315701,
"narHash": "sha256-V49Q+RwpSS6oqVPt8Y8ZNe0vS8N4yxnEr1Xm2x0oojA=",
"owner": "homebrew",
"repo": "homebrew-cask",
"rev": "3c5e18462378b0a02c110600db381ac5aefa64b8",
"rev": "57d19c56253385753f54e5b0d556d7786e706895",
"type": "github"
},
"original": {
@ -160,11 +160,11 @@
"homebrew-core": {
"flake": false,
"locked": {
"lastModified": 1715581709,
"narHash": "sha256-S00HUZjzCMAVDxNp2WER3IHc2NYjfYaxaVjEMgm7R0k=",
"lastModified": 1716315157,
"narHash": "sha256-hwBHiFxzPeYqyPlnwRDcGDRH8n22cXWx9SvT9i08MNw=",
"owner": "homebrew",
"repo": "homebrew-core",
"rev": "96a62c6b06ff5fb7ded99dac22013e1d7deb1260",
"rev": "40cdd6668d16ca01765ee162b49363096051d694",
"type": "github"
},
"original": {
@ -180,11 +180,11 @@
]
},
"locked": {
"lastModified": 1713780596,
"narHash": "sha256-DDAYNGSnrBwvVfpKx+XjkuecpoE9HiEf6JW+DBQgvm0=",
"lastModified": 1716228712,
"narHash": "sha256-y+LOXuSRMfkR2Vfwl5K2NVrszi1h5MJpML+msLnVS8U=",
"owner": "hyprwm",
"repo": "contrib",
"rev": "110e6dc761d5c3d352574def3479a9c39dfc4358",
"rev": "33b38358559054d316eb605ccb733980dfa7dc63",
"type": "github"
},
"original": {
@ -341,11 +341,11 @@
},
"unstable": {
"locked": {
"lastModified": 1715447595,
"narHash": "sha256-VsVAUQOj/cS1LCOmMjAGeRksXIAdPnFIjCQ0XLkCsT0=",
"lastModified": 1716137900,
"narHash": "sha256-sowPU+tLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "062ca2a9370a27a35c524dc82d540e6e9824b652",
"rev": "6c0b7a92c30122196a761b440ac0d46d3d9954f1",
"type": "github"
},
"original": {

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, lib, ... }:
{ config, pkgs, lib, emacs-overlay, ... }:
{
imports =
@ -19,6 +19,9 @@
};
};
services.emacs.package = pkgs.emacs29-pgtk;
services.emacs.enable = true;
# optimize power usage
powerManagement.enable = true;
@ -153,25 +156,6 @@
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
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;

View file

@ -13,6 +13,7 @@
boot.kernelModules = [ "amdgpu" ];
boot.extraModulePackages = [ ];
boot.kernelParams = [ "video=DP-1:2560x1440@144" "video=HDMI-A-1:1920x1080@75" ];
boot.kernelPackages = pkgs.linuxPackages_latest;
fileSystems."/" =
{ device = "/dev/disk/by-uuid/2191540a-8cf9-400e-b4bc-9dbf71527b07";

View file

@ -77,7 +77,7 @@
gnome.file-roller
discord
zip
emacs
# emacs
shellcheck
# yubikey