Compare commits

...

2 Commits

Author SHA1 Message Date
Andreas Schaafsma
273e88cb54 changes 2024-10-08 19:53:10 +02:00
Andreas Schaafsma
caa439b36b add spotify 2024-10-08 09:00:18 +02:00
3 changed files with 47 additions and 25 deletions

30
flake.lock generated
View File

@ -58,11 +58,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1710146030, "lastModified": 1726560853,
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -130,11 +130,11 @@
"nixpkgs-regression": "nixpkgs-regression" "nixpkgs-regression": "nixpkgs-regression"
}, },
"locked": { "locked": {
"lastModified": 1726840928, "lastModified": 1728310575,
"narHash": "sha256-kXJvsJwtf03lb1TNgWDg14wuFTUz+BpwcjuQmVIItGM=", "narHash": "sha256-R13o8hNhzuTuEwUBViVOmT4OM0/I2d9DxnkxQOip1yg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nix", "repo": "nix",
"rev": "68ba6ff4709d936c1a714de35da08f8ed354c710", "rev": "26c3fc11eada3fa7df0284190095868a947fefe2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -149,11 +149,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1726981058, "lastModified": 1728299182,
"narHash": "sha256-065MWSg1xhMdYun53S7mWKUEDviAEyxT/kl6JrjZwe4=", "narHash": "sha256-wzxKH5DyG+uyhnGtP8YmN3LCYtEyYR/4fhjKVY2Rtxg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NixOS-WSL", "repo": "NixOS-WSL",
"rev": "f9f28d8ff5288f821f1e64ec03185a9bb0edb0d0", "rev": "830b6a752d0097c2043985ff4c1203aba07b268d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -213,11 +213,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1726320982, "lastModified": 1728193676,
"narHash": "sha256-RuVXUwcYwaUeks6h3OLrEmg14z9aFXdWppTWPMTwdQw=", "narHash": "sha256-PbDWAIjKJdlVg+qQRhzdSor04bAPApDqIv2DofTyynk=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8f7492cce28977fbf8bd12c72af08b1f6c7c3e49", "rev": "ecbc1ca8ffd6aea8372ad16be9ebbb39889e55b6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -229,11 +229,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1726755586, "lastModified": 1728241625,
"narHash": "sha256-PmUr/2GQGvFTIJ6/Tvsins7Q43KTMvMFhvG6oaYK+Wk=", "narHash": "sha256-yumd4fBc/hi8a9QgA9IT8vlQuLZ2oqhkJXHPKxH/tRw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c04d5652cfa9742b1d519688f65d1bbccea9eb7e", "rev": "c31898adf5a8ed202ce5bea9f347b1c6871f32d1",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -52,7 +52,8 @@
flatpak flatpak
gnome-software gnome-software
soundwireserver soundwireserver
vscode vscode
spotify
# thunderbird # thunderbird
]; ];
}; };
@ -92,16 +93,16 @@
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
''; '';
}; };
services.xrdp.enable = true; # services.xrdp.enable = true;
services.xrdp.defaultWindowManager = "${pkgs.gnome-session}/bin/gnome-session"; # services.xrdp.defaultWindowManager = "${pkgs.gnome-session}/bin/gnome-session";
# services.xrdp.openFirewall = true; # # services.xrdp.openFirewall = true;
# Disable the GNOME3/GDM auto-suspend feature that cannot be disabled in GUI! # # Disable the GNOME3/GDM auto-suspend feature that cannot be disabled in GUI!
# If no user is logged in, the machine will power down after 20 minutes. # # If no user is logged in, the machine will power down after 20 minutes.
systemd.targets.sleep.enable = false; # systemd.targets.sleep.enable = false;
systemd.targets.suspend.enable = false; # systemd.targets.suspend.enable = false;
systemd.targets.hibernate.enable = false; # systemd.targets.hibernate.enable = false;
systemd.targets.hybrid-sleep.enable = false; # systemd.targets.hybrid-sleep.enable = false;
} }
]; ];
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };

View File

@ -0,0 +1,21 @@
{ pkgs }:
let
baseBackages = [
pkgs.vim
pkgs.nixpkgs-fmt
];
utilPackages = [
pkgs.wget
pkgs.curl
pkgs.git
pkgs.ffmpeg
];
haxeDevelopmentPackages = [
pkgs.haxe
];
in
{
mkPackages = {
packages = baseBackages ++ utilPackages ++ haxeDevelopmentPackages;
};
}