feat: simplify flake.nix

This commit is contained in:
Ryan Yin
2023-07-26 20:07:42 +08:00
parent eebbb9f5e6
commit 204cb03922
70 changed files with 1183 additions and 1165 deletions

View File

@@ -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