Compare commits
No commits in common. "238db043b44e50038a96de6d61cbcad02acc678e" and "ec1e07797565493defe63cdc0a9ee0845cbe1df7" have entirely different histories.
238db043b4
...
ec1e077975
10
flake.nix
10
flake.nix
@ -45,7 +45,7 @@
|
|||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
"MaxNixosLaptop" = nixpkgs.lib.nixosSystem {
|
"MaxNixosLaptop" = nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs pkgs system;
|
inherit inputs pkgs system;
|
||||||
@ -68,10 +68,10 @@
|
|||||||
(nixpkgs
|
(nixpkgs
|
||||||
+ "/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix")
|
+ "/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix")
|
||||||
(nixpkgs + "/nixos/modules/installer/cd-dvd/channel.nix")
|
(nixpkgs + "/nixos/modules/installer/cd-dvd/channel.nix")
|
||||||
({pkgs, ...}: {
|
({ pkgs, ... }: {
|
||||||
# Enable SSH in the boot process.
|
# Enable SSH in the boot process.
|
||||||
systemd.services.sshd.wantedBy =
|
systemd.services.sshd.wantedBy =
|
||||||
pkgs.lib.mkForce ["multi-user.target"];
|
pkgs.lib.mkForce [ "multi-user.target" ];
|
||||||
users.users.root.openssh.authorizedKeys.keys = [
|
users.users.root.openssh.authorizedKeys.keys = [
|
||||||
# your ssh key
|
# your ssh key
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOLRNvgrjnBizuruEm6htmvc6F1uGath9T7WjAh6ogPD root@host"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOLRNvgrjnBizuruEm6htmvc6F1uGath9T7WjAh6ogPD root@host"
|
||||||
@ -79,8 +79,8 @@
|
|||||||
isoImage.squashfsCompression = "gzip -Xcompression-level 1";
|
isoImage.squashfsCompression = "gzip -Xcompression-level 1";
|
||||||
networking = {
|
networking = {
|
||||||
usePredictableInterfaceNames = false;
|
usePredictableInterfaceNames = false;
|
||||||
useDHCP = true;
|
useDHCP = true;
|
||||||
nameservers = ["1.1.1.1"];
|
nameservers = [ "1.1.1.1" ];
|
||||||
hostName = "host";
|
hostName = "host";
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
@ -63,7 +63,7 @@ in {
|
|||||||
statix
|
statix
|
||||||
deadnix
|
deadnix
|
||||||
tree-sitter
|
tree-sitter
|
||||||
texliveMedium
|
texliveMinimal
|
||||||
biber
|
biber
|
||||||
gcc
|
gcc
|
||||||
];
|
];
|
||||||
|
@ -168,30 +168,6 @@ in {
|
|||||||
"${pkgs.sway}/bin/swaymsg [workspace=5] move workspace to '\"Dell Inc. DELL P2422HE 7VWL9M3\"'"
|
"${pkgs.sway}/bin/swaymsg [workspace=5] move workspace to '\"Dell Inc. DELL P2422HE 7VWL9M3\"'"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{
|
|
||||||
profile.outputs = [
|
|
||||||
{
|
|
||||||
criteria = "eDP-1";
|
|
||||||
position = "1080,1080";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
criteria = "DP-3";
|
|
||||||
position = "1080,0";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
criteria = "DP-1";
|
|
||||||
transform = "90";
|
|
||||||
position = "0,0";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
profile.exec = [
|
|
||||||
"${pkgs.sway}/bin/swaymsg [workspace=main] move workspace to DP-3"
|
|
||||||
"${pkgs.sway}/bin/swaymsg [workspace=term] move workspace to DP-1"
|
|
||||||
"${pkgs.sway}/bin/swaymsg [workspace=msg] move workspace to eDP-1"
|
|
||||||
"${pkgs.sway}/bin/swaymsg [workspace=music] move workspace to eDP-1"
|
|
||||||
"${pkgs.sway}/bin/swaymsg [workspace=5] move workspace to DP-3"
|
|
||||||
];
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
profile.name = "docked-4k";
|
profile.name = "docked-4k";
|
||||||
profile.outputs = [
|
profile.outputs = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user