2023-05-04 19:09:45 +02:00
|
|
|
{
|
|
|
|
inputs = {
|
2023-05-08 19:39:54 +02:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
2023-05-17 05:07:14 +02:00
|
|
|
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager/master";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
|
|
|
hyprland = {
|
|
|
|
url = "github:hyprwm/Hyprland";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
|
|
|
stylix = {
|
|
|
|
url = "github:danth/stylix";
|
2023-05-17 05:35:52 +02:00
|
|
|
inputs = {
|
|
|
|
nixpkgs.follows = "nixpkgs";
|
|
|
|
home-manager.follows = "home-manager";
|
|
|
|
};
|
2023-05-17 05:07:14 +02:00
|
|
|
};
|
2023-05-04 19:09:45 +02:00
|
|
|
};
|
|
|
|
|
2023-05-10 17:31:57 +02:00
|
|
|
outputs = { self, nixpkgs, home-manager, hyprland, stylix, ... }@attrs: {
|
2023-05-09 17:43:25 +02:00
|
|
|
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
2023-05-04 19:09:45 +02:00
|
|
|
system = "x86_64-linux";
|
2023-05-09 17:43:25 +02:00
|
|
|
specialArgs = attrs;
|
2023-05-04 19:09:45 +02:00
|
|
|
modules = [
|
2023-05-16 23:22:00 +02:00
|
|
|
./home-manager
|
2023-05-10 04:31:23 +02:00
|
|
|
hyprland.nixosModules.default
|
2023-05-10 17:31:57 +02:00
|
|
|
stylix.nixosModules.stylix
|
2023-05-09 17:43:25 +02:00
|
|
|
home-manager.nixosModules.home-manager
|
2023-05-17 18:48:09 +02:00
|
|
|
./laptop.nix
|
2023-05-18 16:20:37 +02:00
|
|
|
./bat
|
|
|
|
./dunst
|
|
|
|
./editorconfig
|
|
|
|
./fcitx5
|
|
|
|
./feh
|
|
|
|
./fish
|
|
|
|
./git
|
|
|
|
./gpg-agent
|
|
|
|
./gpg
|
|
|
|
./gtk
|
|
|
|
./hyprland
|
|
|
|
./kitty
|
|
|
|
./librewolf
|
|
|
|
./mozc
|
|
|
|
./mpd
|
|
|
|
./mpv
|
|
|
|
./ncmpcpp
|
|
|
|
./neovim
|
|
|
|
./qutebrowser
|
|
|
|
./ranger
|
|
|
|
./rofi
|
|
|
|
./swaylock
|
|
|
|
./thunar
|
|
|
|
./tig
|
|
|
|
./udiskie
|
|
|
|
./waybar
|
|
|
|
./xcursor
|
|
|
|
./xdg-user-dirs
|
|
|
|
./xresources
|
|
|
|
./zathura
|
|
|
|
./starship
|
|
|
|
./fonts
|
|
|
|
./stylix
|
|
|
|
./htop
|
|
|
|
./dual-function-keys
|
|
|
|
./tlp
|
|
|
|
./osu
|
|
|
|
./srb2
|
|
|
|
./mullvad
|
|
|
|
./pipewire
|
|
|
|
./networking
|
|
|
|
./virtualization
|
|
|
|
./xserver
|
|
|
|
./systemd
|
|
|
|
./vnstat
|
|
|
|
./locale
|
|
|
|
./firejail
|
|
|
|
./timezone
|
|
|
|
./nix
|
|
|
|
./npm
|
|
|
|
./home-manager
|
|
|
|
./user
|
|
|
|
./piper
|
|
|
|
./packages
|
2023-05-17 18:48:09 +02:00
|
|
|
{
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
environment.sessionVariables = {
|
|
|
|
EDITOR = "nvim";
|
|
|
|
VISUAL = "nvim";
|
|
|
|
GIT_DISCOVERY_ACROSS_FILESYSTEM = "1";
|
|
|
|
FZF_DEFAULT_OPTS = "--height 40% --reverse --border --color=16";
|
|
|
|
NODE_OPTIONS = "--max_old_space_size=16384";
|
|
|
|
};
|
|
|
|
|
|
|
|
environment.defaultPackages = [ ];
|
|
|
|
system.stateVersion = "22.11";
|
|
|
|
}
|
2023-05-04 19:09:45 +02:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|