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";
|
description = "NixOS configuration of Thomas Syms";
|
||||||
nixConfig = {
|
nixConfig = { experimental-features = [ "nix-command" "flakes" ]; };
|
||||||
experimental-features = [ "nix-command" "flakes" ];
|
|
||||||
};
|
|
||||||
inputs = {
|
inputs = {
|
||||||
# System
|
# System
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
@@ -17,51 +15,47 @@
|
|||||||
# Theming
|
# Theming
|
||||||
stylix.url = "github:danth/stylix";
|
stylix.url = "github:danth/stylix";
|
||||||
};
|
};
|
||||||
outputs =
|
outputs = inputs@{ self, nixpkgs, home-manager, ... }:
|
||||||
inputs@{ self, nixpkgs, home-manager, ... }:
|
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
Equinox = nixpkgs.lib.nixosSystem
|
Equinox = nixpkgs.lib.nixosSystem {
|
||||||
{
|
system = "x86_64-linux";
|
||||||
system = "x86_64-linux";
|
specialArgs = { inherit inputs; };
|
||||||
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;
|
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
./home
|
./hosts/Equinox
|
||||||
./home/shell
|
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, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
services.xserver.displayManager.sddm.enable = true;
|
services.xserver.displayManager.sddm.enable = true;
|
||||||
services.xserver.displayManager.defaultSession = "plasmawayland";
|
services.xserver.displayManager.defaultSession = "plasmawayland";
|
||||||
services.xserver.desktopManager.plasma5.enable = true;
|
services.xserver.desktopManager.plasma5.enable = true;
|
||||||
programs.dconf.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