Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ADD some stuff for NFS shares on

+19 -1
+14
networking.nix
··· 36 36 }; 37 37 }; 38 38 39 + # NFS mounts 40 + 41 + fileSystems = { 42 + "/srv/shokuhou" = { 43 + device = "192.168.1.3:/srv/shokuhou"; 44 + fsType = "nfs"; 45 + options = ["nfsvers=4.2" "x-system.automount" "noauto" "x-system.idle-timeout=600"]; 46 + }; 47 + "/srv/mentalout" = { 48 + device = "192.168.1.3:/srv/mentalout"; 49 + fsType = "nfs"; 50 + options = ["nfsvers=4.2" "x-system.automount" "noauto" "x-system.idle-timeout=600"]; 51 + }; 52 + }; 39 53 }
+1
noah-home.nix
··· 73 73 74 74 # GUI tools 75 75 i3status 76 + i3lock 76 77 slurp 77 78 grim 78 79 wl-clipboard
+4 -1
users.nix
··· 16 16 users.users.noah = { 17 17 isNormalUser = true; 18 18 shell = pkgs.fish; 19 - extraGroups = [ "wheel" "video" ]; # Enable ‘sudo’ for the user. 19 + extraGroups = [ "wheel" "video" "nas" ]; # Enable ‘sudo’ for the user. 20 20 hashedPasswordFile = "/etc/nixos/noah-password"; 21 21 openssh.authorizedKeys.keys = [ 22 22 "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDfjMaCPkTDKWEMLxL0iW3uhFHCpnoYDqrIZQUkdIWhj noah@packetlost.dev" 23 23 "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDnp/AcaPipgw4+HnqpYioG+DgheOWBYDOnVkXi42PC0R1FMc+bm4wVP8TA9DAWczaWmllqlA8N2/LSleaqp+46r980VgqmeYEem5aHJuR+Cq/Mg2Z2wcp9VT8njH72wIPIUOXAv+dnPnCe4yvoasgvhwZZCDE4BFTIImuTxrEFPg5ayvkr7b/mUg9LbxaVSjK7fk082pqlShizIKAVcgIIa0lCFSMUs1V/eLi5D11moVcxJU/QoEBh+6Qn5BVM0taPFA4Gbi+288LobQ8RcgRBXKpP03Dt+onYuZQ3KzFjd6USi/d4M+pByrWFcpBJfMXuXJLuwsSF7SfxsuqjjlDt Portable" 24 24 ]; 25 25 }; 26 + 27 + users.groups.nas.gid = 1001; 28 + 26 29 # I manage my home with home-manager 27 30 # Don't store packages in ~/.nix-profile, use /etc/profiles so we can build-vm 28 31 home-manager.useUserPackages = true;