mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-18 17:44:06 +05:30
Moved git and shell config into separate modules
This commit is contained in:
parent
1eee403e6c
commit
227070ac48
4 changed files with 60 additions and 60 deletions
11
flake.nix
11
flake.nix
|
@ -12,6 +12,9 @@
|
|||
outputs = { self, nixpkgs, home-manager, nix-doom-emacs, stylix, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
name = "emmet";
|
||||
email = "librephoenix@protonmail.com";
|
||||
dotfilesDir = ./.;
|
||||
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
|
@ -29,6 +32,14 @@
|
|||
nix-doom-emacs.hmModule
|
||||
stylix.homeManagerModules.stylix
|
||||
];
|
||||
extraSpecialArgs = {
|
||||
myName = name;
|
||||
myHomeDir = /. + "home/"+name;
|
||||
myEmail = email;
|
||||
myDotfilesDir = dotfilesDir;
|
||||
myNixConfigurationFilePath = dotfilesDir+"/system/configuration.nix";
|
||||
myHomeManagerFilePath = dotfilesDir+"/user/home.nix";
|
||||
};
|
||||
};
|
||||
};
|
||||
nixosConfigurations = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue