mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-22 16:58:31 +02:00
feat: simplify flake.nix
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
{ username, ... }: {
|
||||
imports = [
|
||||
../base/server
|
||||
|
||||
@@ -9,12 +7,9 @@
|
||||
|
||||
# Home Manager needs a bit of information about you and the
|
||||
# paths it should manage.
|
||||
home = let
|
||||
name = "ryan";
|
||||
in
|
||||
{
|
||||
username = name;
|
||||
homeDirectory = "/home/${name}";
|
||||
home = {
|
||||
username = username;
|
||||
homeDirectory = "/home/${username}";
|
||||
|
||||
# This value determines the Home Manager release that your
|
||||
# configuration is compatible with. This helps avoid breakage
|
||||
|
||||
Reference in New Issue
Block a user