chore: import nixos files
This commit is contained in:
parent
5ea6b4bd06
commit
6823f37d6b
42 changed files with 1520 additions and 60 deletions
25
flake.nix
25
flake.nix
|
@ -1,8 +1,7 @@
|
|||
{
|
||||
description = "Home Manager configuration of mandlm";
|
||||
description = "Home Manager configuration";
|
||||
|
||||
inputs = {
|
||||
# Specify the source of Home Manager and Nixpkgs.
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
|
@ -14,16 +13,22 @@
|
|||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
homeConfigurations."mandlm" = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
in
|
||||
{
|
||||
homeConfigurations = {
|
||||
"mandlm@xps" = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
# Specify your home configuration modules here, for example,
|
||||
# the path to your home.nix.
|
||||
modules = [ ./home.nix ];
|
||||
modules = [
|
||||
./home.nix
|
||||
./xps.nix
|
||||
];
|
||||
|
||||
# Optionally use extraSpecialArgs
|
||||
# to pass through arguments to home.nix
|
||||
extraSpecialArgs = {
|
||||
username = "mandlm";
|
||||
theme = "dark";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue