feat: add initial suport for EDaaS setup at work

This commit is contained in:
2025-06-16 14:44:08 +00:00
committed by Emma Thorpe
parent dd33501382
commit 1cc633bb67
3 changed files with 48 additions and 1 deletions
+5
View File
@@ -75,4 +75,9 @@
let g:indent_guides_enable_on_vim_startup = 1 let g:indent_guides_enable_on_vim_startup = 1
''; '';
}; };
programs.git = {
enable = true;
package = pkgs.gitFull;
userName = "Emma Thorpe";
};
} }
+15
View File
@@ -38,5 +38,20 @@
} }
]; ];
}; };
nixosConfigurations.emmathorpe-edaas = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./system/machine/EDaaS/configuration.nix
./emmathorpe/user.nix
./emmathorpe/swaywm.nix
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.emmathorpe = import ./emmathorpe/home.nix;
}
];
};
}; };
} }
+27
View File
@@ -0,0 +1,27 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
# NixOS-WSL specific options are documented on the NixOS-WSL repository:
# https://github.com/nix-community/NixOS-WSL
{ config, lib, pkgs, ... }:
{
imports = [
# include NixOS-WSL modules
<nixos-wsl/modules>
];
wsl.enable = true;
wsl.defaultUser = "emmathorpe";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
features.swayDesktop.enable = false;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It's perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "24.11"; # Did you read the comment?
}