2022-04-27 01:36:16 +00:00
|
|
|
{
|
|
|
|
description = "My system";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager/master";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2022-05-07 18:24:00 +00:00
|
|
|
nur.url = "github:nix-community/nur";
|
2022-04-27 01:36:16 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
2022-05-07 18:24:00 +00:00
|
|
|
outputs = { self, nixpkgs, home-manager, nur }:
|
2022-04-27 01:36:16 +00:00
|
|
|
let
|
2022-05-06 03:01:56 +00:00
|
|
|
globals = {
|
2022-04-30 16:07:58 +00:00
|
|
|
user = "noah";
|
2022-05-06 03:01:56 +00:00
|
|
|
fullName = "Noah Masur";
|
|
|
|
passwordHash =
|
|
|
|
"$6$J15o3OLElCEncVB3$0FW.R7YFBMgtBp320kkZO.TdKvYDLHmnP6dgktdrVYCC3LUvzXj0Fj0elR/fXo9geYwwWi.EAHflCngL5T.3g/";
|
2022-04-30 16:07:58 +00:00
|
|
|
gitEmail = "7386960+nmasur@users.noreply.github.com";
|
2022-05-06 03:01:56 +00:00
|
|
|
gui = {
|
|
|
|
colorscheme = (import ./modules/colorscheme/gruvbox);
|
2022-05-08 02:04:34 +00:00
|
|
|
wallpaper = ../../../Downloads/nix.jpg;
|
2022-05-06 03:01:56 +00:00
|
|
|
gtkTheme = "Adwaita-dark";
|
2022-04-30 16:07:58 +00:00
|
|
|
};
|
2022-04-29 00:54:37 +00:00
|
|
|
};
|
2022-04-27 01:36:16 +00:00
|
|
|
in {
|
|
|
|
nixosConfigurations = {
|
2022-04-27 13:23:26 +00:00
|
|
|
desktop = nixpkgs.lib.nixosSystem {
|
2022-04-30 16:07:58 +00:00
|
|
|
system = "x86_64-linux";
|
2022-05-06 03:01:56 +00:00
|
|
|
specialArgs = { };
|
2022-04-27 01:36:16 +00:00
|
|
|
modules = [
|
2022-05-06 03:01:56 +00:00
|
|
|
globals
|
|
|
|
{
|
|
|
|
networking.hostName = "desktop";
|
|
|
|
gui.enable = true;
|
2022-05-07 13:24:17 +00:00
|
|
|
gui.compositor.enable = true;
|
2022-05-06 03:01:56 +00:00
|
|
|
}
|
2022-04-29 01:40:21 +00:00
|
|
|
home-manager.nixosModules.home-manager
|
2022-05-07 18:24:00 +00:00
|
|
|
{ nixpkgs.overlays = [ nur.overlay ]; }
|
2022-05-02 03:39:50 +00:00
|
|
|
./hosts/desktop/hardware-configuration.nix
|
2022-05-07 13:24:17 +00:00
|
|
|
./hosts/common.nix
|
2022-04-30 16:32:00 +00:00
|
|
|
./modules/hardware
|
|
|
|
./modules/system
|
2022-05-06 03:01:56 +00:00
|
|
|
./modules/desktop
|
2022-04-30 16:32:00 +00:00
|
|
|
./modules/shell
|
2022-04-29 01:15:47 +00:00
|
|
|
./modules/gaming
|
|
|
|
./modules/services/keybase.nix
|
|
|
|
./modules/applications/firefox.nix
|
2022-04-29 01:40:21 +00:00
|
|
|
./modules/applications/alacritty.nix
|
2022-04-29 02:43:50 +00:00
|
|
|
./modules/applications/media.nix
|
2022-04-29 02:44:42 +00:00
|
|
|
./modules/applications/1password.nix
|
2022-04-30 02:29:50 +00:00
|
|
|
./modules/applications/discord.nix
|
2022-05-07 20:54:47 +00:00
|
|
|
./modules/editor/neovim
|
2022-05-02 03:39:50 +00:00
|
|
|
./modules/editor/notes.nix
|
2022-04-27 01:36:16 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2022-05-01 15:16:48 +00:00
|
|
|
devShells.x86_64-linux =
|
|
|
|
let pkgs = import nixpkgs { system = "x86_64-linux"; };
|
|
|
|
in {
|
|
|
|
default = pkgs.mkShell {
|
2022-05-06 12:58:44 +00:00
|
|
|
buildInputs = with pkgs; [ git stylua nixfmt shfmt shellcheck ];
|
2022-05-01 15:16:48 +00:00
|
|
|
};
|
|
|
|
};
|
2022-04-27 13:23:26 +00:00
|
|
|
|
2022-04-27 01:36:16 +00:00
|
|
|
};
|
|
|
|
}
|