my nixos config
0
fork

Configure Feed

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

readme & group for user

chfour 95a81177 b2fb4fb5

+12 -14
+7 -14
README.md
··· 1 1 # this is my NixOS flake 2 2 3 - im relatively a beginner but i really like this distro can you tell 3 + im relatively new to it but i really like this distro can you tell 4 4 5 - uses nixpkgs/nixos-unstable and home-manager :3 5 + uses nixpkgs/nixos-unstable and home-manager 6 6 7 7 ## `machines` 8 8 ··· 10 10 11 11 ### `foxbox` 12 12 13 - this is my laptop. only configuration so far 13 + this is my laptop 14 14 15 - it's a thinkpad E14 gen 2 so i have the corresponding nixos-hardware 16 - module included there too 15 + it's a thinkpad E14 gen 2 so the corresponding nixos-hardware 16 + module is included 17 17 18 18 it runs the latest kernel 19 19 ··· 27 27 28 28 this is my vps hosted on contabo's cheapest tier :fire: 29 29 30 - at the time of writing i've only configured caddy on it but there 31 - will be more stuff running on it 30 + buncha stuff on it 32 31 33 32 ## `users` 34 33 ··· 38 37 39 38 thats me 40 39 41 - git, vscode, mpd as a user service, a bunch of packages 40 + git, vscodium, mpd as a user service, a bunch of packages 42 41 43 42 gui stuff only gets enabled if there is a gui 44 43 ··· 50 49 i also tweak gnome a bit 51 50 52 51 nuff said 53 - 54 - ## epilogue 55 - 56 - nixos turned my perception of linux upside down and i love it 57 - 58 - i will never look at arch the same way ever again
+5
users/chfour/default.nix
··· 2 2 3 3 { 4 4 home-manager.users.chfour = ./home.nix; 5 + 6 + users.groups = { 7 + chfour = { gid = 1000; }; 8 + }; 5 9 6 10 users.users."chfour" = { 7 11 isNormalUser = true; 8 12 description = "chfour"; 9 13 shell = pkgs.zsh; 14 + group = "chfour"; 10 15 extraGroups = [ "wheel" "plugdev" "dialout" ] ++ (lib.optional config.networking.networkmanager.enable "networkmanager"); 11 16 12 17 openssh.authorizedKeys.keys = [''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICOvi+wFazV5fN/piUQ0OM84W71TOuedHcAOsT/oRP55'' ];