spun out user config and home config.

This commit is contained in:
2026-02-13 13:35:01 -06:00
parent f1c627e392
commit efb8a6efe5
6 changed files with 82 additions and 25 deletions

View File

@@ -5,8 +5,6 @@
{ inputs, lib, pkgs, self, ... }:
{
flake.nixosModules.lily-desktop = { pkgs, ... }: {
imports = [ ];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
@@ -62,25 +60,17 @@ flake.nixosModules.lily-desktop = { pkgs, ... }: {
# Enable touchpad support (enabled default in most desktopManager).
# services.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd.
users.users.lily = {
isNormalUser = true;
extraGroups = [ "wheel" "lily" ]; # Enable sudo for the user.
packages = with pkgs; [
tree
git
vim
];
};
users.groups.lily = { };
programs.firefox.enable = true;
# List packages installed in system profile.
# You can use https://search.nixos.org/ to find more packages (and options).
# environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget
# ];
environment.systemPackages = with pkgs; [
tree
git
vim
wget
home-manager
];
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.