some reorganizing
This commit is contained in:
parent
df9e8ae8bf
commit
113e015135
182 changed files with 443 additions and 449 deletions
41
sys/machines/kidney/default.nix
Normal file
41
sys/machines/kidney/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
specialArgs,
|
||||
systemProfiles,
|
||||
homeSuites,
|
||||
...
|
||||
}: {
|
||||
imports = with systemProfiles; [
|
||||
./wsl.nix
|
||||
./hardware.nix
|
||||
./fonts.nix
|
||||
|
||||
core.tools
|
||||
core.users
|
||||
core.locale
|
||||
|
||||
programs.tools
|
||||
programs.zsh
|
||||
programs.home-manager
|
||||
hardware.graphics
|
||||
|
||||
services.flatpak
|
||||
services.xdg-portals
|
||||
|
||||
nix.default
|
||||
nix.gc
|
||||
|
||||
{
|
||||
home-manager = {
|
||||
users.xun.imports = [
|
||||
homeSuites.kidney
|
||||
{home.stateVersion = "24.05";}
|
||||
];
|
||||
extraSpecialArgs = specialArgs;
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
networking.hostName = "kidney";
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
}
|
18
sys/machines/kidney/fonts.nix
Normal file
18
sys/machines/kidney/fonts.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
pkgs,
|
||||
self,
|
||||
...
|
||||
}: {
|
||||
fonts = {
|
||||
packages = with pkgs; [
|
||||
font-awesome
|
||||
iosevka
|
||||
emacs-all-the-icons-fonts
|
||||
self.packages.${pkgs.system}.cartograph-cf
|
||||
];
|
||||
enableDefaultPackages = false;
|
||||
fontconfig.defaultFonts = {
|
||||
monospace = ["Iosevka"];
|
||||
};
|
||||
};
|
||||
}
|
3
sys/machines/kidney/hardware.nix
Normal file
3
sys/machines/kidney/hardware.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
nixpkgs.hostPlatform.system = "x86_64-linux";
|
||||
}
|
11
sys/machines/kidney/wsl.nix
Normal file
11
sys/machines/kidney/wsl.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{inputs, ...}: {
|
||||
imports = [
|
||||
inputs.nixos-wsl.nixosModules.default
|
||||
];
|
||||
|
||||
wsl = {
|
||||
enable = true;
|
||||
defaultUser = "xun";
|
||||
startMenuLaunchers = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue