Update NixOS configuration and add new themes
This commit is contained in:
74
flake.nix
74
flake.nix
@@ -1,8 +1,6 @@
|
||||
{
|
||||
description = "NixOS configuration of Thomas Syms";
|
||||
nixConfig = {
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
};
|
||||
nixConfig = { experimental-features = [ "nix-command" "flakes" ]; };
|
||||
inputs = {
|
||||
# System
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
@@ -17,51 +15,47 @@
|
||||
# Theming
|
||||
stylix.url = "github:danth/stylix";
|
||||
};
|
||||
outputs =
|
||||
inputs@{ self, nixpkgs, home-manager, ... }:
|
||||
outputs = inputs@{ self, nixpkgs, home-manager, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
Equinox = nixpkgs.lib.nixosSystem
|
||||
{
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./hosts/Equinox
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.extraSpecialArgs = inputs;
|
||||
|
||||
home-manager.users.panotaka =
|
||||
{
|
||||
imports = [
|
||||
./home
|
||||
./home/shell
|
||||
./home/desktop
|
||||
];
|
||||
};
|
||||
}
|
||||
inputs.stylix.nixosModules.stylix
|
||||
./themes/targets/all.nix
|
||||
./themes/sandstone-forest
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
homeConfigurations.panotaka = home-manager.lib.homeManagerConfiguration
|
||||
{
|
||||
inherit pkgs;
|
||||
|
||||
Equinox = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./home
|
||||
./home/shell
|
||||
./hosts/Equinox
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.extraSpecialArgs = inputs;
|
||||
|
||||
home-manager.users.panotaka = {
|
||||
imports = [ ./home ./home/shell ./home/desktop ];
|
||||
};
|
||||
}
|
||||
inputs.stylix.nixosModules.stylix
|
||||
./themes/targets/all.nix
|
||||
./themes/sandstone-forest
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
homeConfigurations.panotaka = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
modules = [
|
||||
./home
|
||||
./home/shell
|
||||
inputs.stylix.homeManagerModules.stylix
|
||||
./themes/sandstone-forest
|
||||
./themes/targets/foot.nix
|
||||
./themes/targets/kitty.nix
|
||||
./themes/targets/kde.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
services.xserver.enable = true;
|
||||
services.xserver.displayManager.sddm.enable = true;
|
||||
services.xserver.displayManager.defaultSession = "plasmawayland";
|
||||
services.xserver.desktopManager.plasma5.enable = true;
|
||||
programs.dconf.enable = true;
|
||||
services.xserver.enable = true;
|
||||
services.xserver.displayManager.sddm.enable = true;
|
||||
services.xserver.displayManager.defaultSession = "plasmawayland";
|
||||
services.xserver.desktopManager.plasma5.enable = true;
|
||||
programs.dconf.enable = true;
|
||||
}
|
||||
4
themes/targets/foot.nix
Normal file
4
themes/targets/foot.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
stylix.autoEnable = false;
|
||||
stylix.targets.foot.enable = true;
|
||||
}
|
||||
4
themes/targets/kde.nix
Normal file
4
themes/targets/kde.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
stylix.autoEnable = false;
|
||||
stylix.targets.kde.enable = true;
|
||||
}
|
||||
4
themes/targets/kitty.nix
Normal file
4
themes/targets/kitty.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
stylix.autoEnable = false;
|
||||
stylix.targets.kitty.enable = true;
|
||||
}
|
||||
Reference in New Issue
Block a user