[tohru] Move most user config to home-manager & install VS Code
This commit is contained in:
parent
30d059d995
commit
1012a3a1de
|
@ -2,8 +2,9 @@
|
|||
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
./home.nix
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
|
@ -33,25 +34,12 @@
|
|||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
services.xserver.libinput.enable = true;
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.bluebird = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
packages = with pkgs; [
|
||||
bitwarden
|
||||
firefox
|
||||
tor-browser-bundle-bin
|
||||
];
|
||||
};
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
colmena
|
||||
git
|
||||
npins
|
||||
plocate
|
||||
tree
|
||||
wget
|
||||
];
|
||||
|
||||
|
|
38
hosts/tohru/home.nix
Normal file
38
hosts/tohru/home.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
users.users.bluebird = {
|
||||
isNormalUser = true;
|
||||
description = "Bluebird";
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
packages = with pkgs; [
|
||||
# TODO: move these to home-manager
|
||||
bitwarden
|
||||
firefox
|
||||
tor-browser-bundle-bin
|
||||
];
|
||||
};
|
||||
|
||||
home-manager.users.bluebird = { pkgs, ... }: {
|
||||
home.packages = [
|
||||
pkgs.fortune
|
||||
pkgs.htop
|
||||
pkgs.tree
|
||||
];
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Katherina Walshe-Grey";
|
||||
userEmail = "git@katherina.rocks";
|
||||
};
|
||||
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs.vscodium;
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
];
|
||||
};
|
||||
|
||||
home.stateVersion = "23.11";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue