This repository has been archived on 2024-04-14. You can view files and clone it, but cannot push or open issues or pull requests.
nixos-dotfiles/flake.nix

97 lines
2.5 KiB
Nix
Raw Normal View History

2022-08-07 15:46:46 +01:00
{
description = "My personal dotfiles";
inputs = {
2023-12-21 17:33:57 +00:00
nixpkgs.url = "nixpkgs/nixos-23.11";
nixpkgs-unstable.url = "nixpkgs/nixpkgs-unstable";
2023-08-24 06:03:47 +01:00
2023-12-21 19:18:51 +00:00
home-manager.url = "github:nix-community/home-manager/release-23.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
2023-12-21 17:33:57 +00:00
chaotic-nyx.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
2023-12-21 19:18:51 +00:00
2023-12-21 17:33:57 +00:00
nix-index-database.url = "github:Mic92/nix-index-database";
2023-12-21 19:18:51 +00:00
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
2023-05-26 02:42:33 +01:00
2023-12-21 17:33:57 +00:00
hyprland.url = "github:hyprwm/hyprland";
hyprland-contrib.url = "github:hyprwm/contrib";
2023-12-21 19:18:51 +00:00
2023-12-21 17:33:57 +00:00
ags.url = "github:Aylur/ags";
2023-12-01 12:55:49 +00:00
2023-12-29 23:19:10 +00:00
eww-systray.url = "github:ralismark/eww/tray-3";
eww-systray.inputs.nixpkgs.follows = "nixpkgs";
2023-12-31 23:48:18 +00:00
nur.url = "github:nix-community/NUR";
2023-12-21 19:18:51 +00:00
gruvbox-kvantum.url = "github:thefallnn/Gruvbox-Kvantum";
gruvbox-kvantum.flake = false;
fish-plugin-bobthefish.url = "github:oh-my-fish/theme-bobthefish";
fish-plugin-bobthefish.flake = false;
fish-plugin-gruvbox-theme.url = "github:Jomik/fish-gruvbox";
fish-plugin-gruvbox-theme.flake = false;
gruvbox-plus-icon-pack.url = "github:SylEleuth/gruvbox-plus-icon-pack";
gruvbox-plus-icon-pack.flake = false;
2023-12-25 19:56:16 +00:00
openmw-git.url = "gitlab:OpenMW/openmw";
openmw-git.flake = false;
mygui-git.url = "github:mygui/MyGUI/dae9ac4be5a09e672bec509b1a8552b107c40214";
mygui-git.flake = false;
2022-08-21 01:18:19 +01:00
};
2022-08-14 21:20:39 +01:00
2023-10-08 10:51:15 +01:00
outputs = {
self,
nixpkgs,
home-manager,
...
} @ inputs: let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
allowUnsupportedSystem = true;
2023-10-18 17:33:03 +01:00
permittedInsecurePackages = [
];
2023-10-08 10:51:15 +01:00
};
2023-10-08 10:51:15 +01:00
overlays = [
self.overlays.default
];
};
in {
2023-10-09 16:12:39 +01:00
formatter.${system} = nixpkgs.legacyPackages.${system}.alejandra;
2023-10-08 10:51:15 +01:00
overlays = import ./overlay.nix {inherit inputs;};
nixosConfigurations.terra =
nixpkgs.lib.nixosSystem
{
2023-05-29 16:43:26 +01:00
inherit system;
2023-10-08 10:51:15 +01:00
inherit pkgs;
specialArgs = {inherit inputs;};
modules = [
./system/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager = {
useUserPackages = true;
users.manuel = import ./user/home.nix;
2023-12-01 12:55:49 +00:00
extraSpecialArgs = {
inherit inputs;
inherit system;
};
2023-10-08 10:51:15 +01:00
useGlobalPkgs = true;
};
}
inputs.chaotic-nyx.nixosModules.default
2023-12-31 23:48:18 +00:00
inputs.nur.nixosModules.nur
2023-05-29 16:43:26 +01:00
];
};
2023-10-08 10:51:15 +01:00
};
2022-08-07 15:46:46 +01:00
}