maybe
This commit is contained in:
parent
f223e0895a
commit
d1f9e2c3ec
2 changed files with 641 additions and 639 deletions
10
flake.nix
10
flake.nix
|
@ -1,14 +1,22 @@
|
|||
{
|
||||
description = "mehbark's NixOS configuration";
|
||||
|
||||
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||
inputs.home-manager.url = "github:nix-community/home-manager";
|
||||
inputs.home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
outputs = {self, nixpkgs, home-manager }: {
|
||||
outputs = inputs@{ self, nixpkgs, home-manager }: {
|
||||
nixosConfigurations = {
|
||||
nix = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.mbk = import ./home.nix;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
6
home.nix
6
home.nix
|
@ -1,10 +1,5 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
<home-manager/nixos>
|
||||
];
|
||||
|
||||
home-manager.users.mbk = {pkgs, ...}: {
|
||||
/* The home.stateVersion option does not have a default and must be set */
|
||||
home.stateVersion = "18.09";
|
||||
home.packages = with pkgs; [
|
||||
|
@ -630,5 +625,4 @@
|
|||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue