Update remove vm to plasma 6 (#139)

This commit is contained in:
magnouvean 2024-04-22 17:14:02 +02:00 committed by GitHub
parent cedea97b12
commit 750c470b6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 19 additions and 20 deletions

15
flake.lock generated
View File

@ -7,32 +7,31 @@
]
},
"locked": {
"lastModified": 1710888565,
"narHash": "sha256-s9Hi4RHhc6yut4EcYD50sZWRDKsugBJHSbON8KFwoTw=",
"lastModified": 1713789879,
"narHash": "sha256-4Wt3Bg6uOnvwZcECBZaFEdzlWRlGLgd8DqLL4ugLdxg=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "f33900124c23c4eca5831b9b5eb32ea5894375ce",
"rev": "46833c3115e8858370880d892748f0927d8193c3",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-23.11",
"repo": "home-manager",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1711124224,
"narHash": "sha256-l0zlN/3CiodvWDtfBOVxeTwYSRz93muVbXWSpaMjXxM=",
"lastModified": 1713714899,
"narHash": "sha256-+z/XjO3QJs5rLE5UOf015gdVauVRQd2vZtsFkaXBq2Y=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "56528ee42526794d413d6f244648aaee4a7b56c0",
"rev": "6143fc5eeb9c4f00163267708e26191d1e918932",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-23.11",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}

View File

@ -2,9 +2,9 @@
description = "Manage KDE Plasma with Home Manager";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager/release-23.11";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
@ -41,7 +41,7 @@
home-manager-module = inputs.home-manager.nixosModules.home-manager;
plasma-module = self.homeManagerModules.plasma-manager;
})
(_: {environment.systemPackages = [ self.packages.${system}.rc2nix]; })
(_: { environment.systemPackages = [ self.packages.${system}.rc2nix ]; })
];
}).config.system.build.vm;

View File

@ -34,16 +34,16 @@
guest.port = 22;
}];
services.xserver = {
enable = true;
displayManager.sddm.enable = true;
displayManager.defaultSession = "plasma";
desktopManager.plasma5.enable = true;
displayManager.autoLogin.enable = true;
displayManager.autoLogin.user = "fake";
services.xserver.enable = true;
services.displayManager = {
autoLogin.user = "fake";
autoLogin.enable = true;
defaultSession = "plasma";
sddm.enable = true;
};
services.desktopManager.plasma6.enable = true;
system.stateVersion = "22.05";
system.stateVersion = "23.11";
users.users.fake = {
createHome = true;
@ -54,7 +54,7 @@
home-manager.users.fake = {
home.stateVersion = "22.05";
imports = [ plasma-module ];
imports = [ plasma-module ];
};
};
}