Compare commits

..

No commits in common. "a3809f02f2a023f96225636857070890f13edfe8" and "3fa4a2d051ac5c0080e716689f4be0299b3e1f40" have entirely different histories.

6 changed files with 12 additions and 24 deletions

View file

@ -17,5 +17,6 @@
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
}; };
users.mutableUsers = false; users.mutableUsers = false;
system.autoUpgrade.operation = "switch";
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
} }

View file

@ -4,10 +4,7 @@
home-manager.users.${username} = { home-manager.users.${username} = {
imports = [ ./home/work.nix ]; imports = [ ./home/work.nix ];
wayland.windowManager.sway.config = { wayland.windowManager.sway.config = {
output = { output."eDP-1".scale = "1.25";
"eDP-1".scale = "1.25";
"Dell Inc. DELL P3223QE CCG8YN3".scale = "1.5";
};
workspaceOutputAssign = [ workspaceOutputAssign = [
{ {
output = "eDP-1"; output = "eDP-1";
@ -22,39 +19,27 @@
laptopScreen = { laptopScreen = {
criteria = "eDP-1"; criteria = "eDP-1";
scale = 1.25; scale = 1.25;
# position = "2560,576"; position = "2560,576";
}; };
monitor = { monitor = {
criteria = "Dell Inc. DELL P3223QE CCG8YN3"; criteria = "Dell Inc. DELL P3223QE CCG8YN3";
scale = 1.5; scale = 1.5;
position = "0,0";
}; };
in in
[ [
{ {
profile = { profile = {
name = "default"; name = "undocked";
outputs = [ outputs = [ laptopScreen ];
{
inherit (laptopScreen) criteria scale;
status = "enable";
position = "0,0";
}
];
}; };
} }
{ {
profile = { profile = {
name = "docked"; name = "docked";
outputs = [ outputs = [
{ laptopScreen
inherit (laptopScreen) criteria scale; monitor
status = "disable";
}
{
inherit (monitor) criteria scale;
status = "enable";
position = "0,0";
}
]; ];
}; };
} }

View file

@ -197,7 +197,6 @@
}; };
}; };
services = { services = {
passSecretService.enable = true;
upower.enable = true; upower.enable = true;
power-profiles-daemon.enable = true; power-profiles-daemon.enable = true;
system76-scheduler = { system76-scheduler = {

View file

@ -2,6 +2,7 @@
{ {
home-manager.users.${username}.imports = [ ./home/desktop.nix ]; home-manager.users.${username}.imports = [ ./home/desktop.nix ];
nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland"; nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland";
system.autoUpgrade.operation = "boot";
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
environment = { environment = {
sessionVariables = { sessionVariables = {
@ -37,6 +38,7 @@
}; };
gtk.iconCache.enable = true; gtk.iconCache.enable = true;
services = { services = {
gnome.gnome-keyring.enable = true;
flatpak.enable = true; flatpak.enable = true;
printing.enable = true; printing.enable = true;
pipewire = { pipewire = {

View file

@ -25,7 +25,7 @@
hyprlinks = true; hyprlinks = true;
navigate = true; navigate = true;
side-by-side = true; side-by-side = true;
syntax-theme = lib.mkIf config.programs.bat.enable config.programs.bat.config.theme; syntax-theme = with config.programs; lib.mkIf bat.enable bat.config.theme;
}; };
}; };
attributes = [ attributes = [

View file

@ -22,6 +22,7 @@ in
../wlogout/default.nix ../wlogout/default.nix
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [
gnome.seahorse
ffmpeg ffmpeg
evince evince
grim grim