Skip to content

Commit

Permalink
update flakes
Browse files Browse the repository at this point in the history
  • Loading branch information
BSathvik committed Jun 9, 2024
1 parent 4b90e64 commit 6d85c74
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 199 deletions.
206 changes: 15 additions & 191 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 6 additions & 8 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
flake-utils.url = "github:numtide/flake-utils";

jrsonnet.url = "github:CertainLach/jrsonnet";
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
};

outputs = { self, darwin, home-manager, flake-utils, ... }@inputs:
Expand All @@ -36,7 +35,6 @@
inherit (inputs) nixpkgs-unstable nixpkgs-stable jrsonnet;
inherit (self) nixpkgsDefaults;
});
# ++ [ inputs.neovim-nightly-overlay.overlay ];
};

personalUser = rec {
Expand All @@ -48,11 +46,11 @@
computerName = "Sathvik’s Personal MBP";
};

flourina = personalUser // rec {
username = "flourina";
hostName = "flourina";
florina = personalUser // rec {
username = "florina";
hostName = "florina";
nixConfigDirectory = "/Users/${username}/.config/nixpkgs";
computerName = "Flourina";
computerName = "Florina";
};

workUser = personalUser // rec {
Expand Down Expand Up @@ -150,13 +148,13 @@
});
};

homeConfigurations.flourina = makeOverridable home-manager.lib.homeManagerConfiguration {
homeConfigurations.florina = makeOverridable home-manager.lib.homeManagerConfiguration {
pkgs = import inputs.nixpkgs-unstable (nixpkgsDefaults // { system = "x86_64-linux"; });
modules = attrValues self.homeManagerModules ++ singleton ({ config, ... }: {
home.username = config.home.user-info.username;
home.homeDirectory = "/home/${config.home.username}";
home.stateVersion = homeStateVersion;
home.user-info = flourina;
home.user-info = florina;
});
};

Expand Down

0 comments on commit 6d85c74

Please sign in to comment.