560 current 1970-01-01 01:00:00 24.11.20250215.a60651b 6.6.76 *
This commit is contained in:
parent
ec1e077975
commit
1a8b0c4449
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";
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
@ -168,6 +168,30 @@ 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 = "Dell Inc. DELL P2422HE JLXL9M3";
|
||||||
|
position = "1080,0";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
criteria = "DP-1";
|
||||||
|
transform = "90";
|
||||||
|
position = "0,0";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
profile.exec = [
|
||||||
|
"${pkgs.sway}/bin/swaymsg [workspace=main] move workspace to '\"Dell Inc. DELL P2422HE 7VWL9M3\"'"
|
||||||
|
"${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 '\"Dell Inc. DELL P2422HE 7VWL9M3\"'"
|
||||||
|
];
|
||||||
|
}
|
||||||
{
|
{
|
||||||
profile.name = "docked-4k";
|
profile.name = "docked-4k";
|
||||||
profile.outputs = [
|
profile.outputs = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user